
#scrollUp a i, #back-top a i { line-height: 46px;} 

html.no-js body {overflow-y:auto!important;}
#preloader-container {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--background);
    z-index: 9999; 
}
.preloader, .preloader .preloader-circle {
    background: var(--background);
}
.preloader .preloader-circle {
    width:250px; 
    height:250px;
}

.preloader .preloader-img img {
    max-width: 150px;
}

.sticky-bar .logo img{
    max-height:100px;
}

.header-area .header-top {
    background: #11141b;
}

.main-header {
    background: linear-gradient( 
        180deg
         , rgba(255,255,255,.7) 60%, rgba(255,255,255,0) 100%);
}

body.dark .dark_theme_btn i {
    transform: rotateY(180deg)!important;
    -webkit-transform: rotateY(180deg)!important;
    -moz-transform: rotateY(180deg)!important;
    -ms-transform: rotateY(180deg)!important;
    -o-transform: rotateY(180deg)!important;
}

/* .header-area .header-top .header-info-right .header-social a:hover i,
body.dark .dark_theme_btn i {
    color: yellow;
} */

.header-area .header-top .header-info-left ul li {text-transform:none;}
.main-header .main-menu {margin-right:0;}
.header-area .header-sticky.sticky-bar .main-menu nav > ul > li:last-child > a {
    padding-right:0!important;
}

.header-area .header-top {padding:0;}
/* .header-area .header-info-left {padding: 13px 0;} */
.header-area .header-info-left ul {
    height:54px;
    line-height: 54px;;
}
.header-area .header-social li a {
    padding-left:0!important;
    height: 54px;
    width: 54px;
    display: flex;
    justify-content: center;
    text-decoration: none!important;
    text-align:center;
    align-items: center;
    transition: background .2s ease-in-out!important;
}

.header-social li a:is(:hover,:focus) i {
    color: #fff!important;
    transform: none!important;
    -webkit-transform: none!important;
    -moz-transform: none!important;
    -ms-transform: none!important;
    -o-transform: none!important;
}

.header-social li .facebook:is(:hover,:focus) {background:#3b5998;}
.header-social li .twitter:is(:hover,:focus) {background:#1da1f2;}
.header-social li .instagram:is(:hover,:focus) {background:#c13584;}
.header-social li .whatsapp:is(:hover,:focus) {background:#25d366;}


.header-info-left a:hover,
.header-info-left a:focus,
.footer-number a:hover,
.footer-number a:focus,
.footer-pera a:hover,
.footer-pera a:focus {
    text-decoration: underline;
    color:#fff;
}

.footer-area .footer-top .single-footer-caption .footer-logo {
    max-width:250px;
}

.social-footer i {
    width:45px;
    text-align:center;
}

.main-menu ul ul.sub-menu {
    max-width: 320px!important;
    width: auto!important;
    min-width: 235px!important;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}
.sticky-bar ul.sub-menu {
    max-height: calc(100vh - 150px)!important;
}
.main-menu ul ul.sub-menu li a {
    font-size:16px!important;
}

.slider-area {
    background: none;
    
}
.single-slider {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.single-slider .bg {
    position: absolute;
    background: linear-gradient(90deg, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
    top: 0;
    left: 0;
    z-index: 9;
    width: 60vw;
    height: inherit;
}
.single-slider > .container {z-index: 10;}
.slick-arrow {background: rgba(255,255,255,.3)!important; }
.slick-arrow:hover { background:#fff!important;}

.single-services {position:relative;top:0;left:0;}
.single-services .services-img {display:block;border: 1px solid var(--border);}

.single-services .services-img:hover .project-title,
.single-services .services-img:focus .project-title {
    left: 20px;
    bottom: 20px;
}
.single-services .services-img:hover .project-title h4,
.single-services .services-img:focus .project-title h4 {
    background: var(--color);
    color: var(--background);

}
.project-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;   
    transition: all .2s ease-in-out; 
}
.project-title h4 {
    font-weight: bold;
    padding: 15px 20px;
    background: var(--background);
    color: var(--color);
    width: auto;
    max-width:80%;
    display: inline-block;
    margin: 0;
    transition: all .2s ease-in-out;
}

.social-area {
    background-color: var(--blueColor);
}
.social-area .section-tittle h2 {
    color: #fff;
}

.breadcrumbs {    
    margin-bottom: 30px;
}
.breadcrumbs span:last-child {
    line-height:2;
}
.breadcrumbs span[property="name"] {
    color: var(--blueColor);
    background: rgba(255,255,255,0.8);
    font-size: 14px;
    padding: 10px;
}
.breadcrumbs i {
    padding: 5px;
    color: #fff;
    font-size:10px;
}
.breadcrumbs i.fa-home {
    color:var(--blueColor);
    padding: 0;
    font-size: 20px;
    position: relative;
    top: 3px;
}
main:not(.featured-img) .breadcrumbs i { color:var(--blueColor); }
.breadcrumbs a:hover {font-weight:bold;}


.single-post-area .home-blog-area {
    background:none;
}
.single-post-area .blog_details {
    background: var(--background);
    padding: 0 30px 30px;
}

.single-post-area div:is(.blog_content, .content-card):not(.articoli-correlati):not(.allegati) ul {
    padding-left:40px;
}
.single-post-area div:is(.blog_content, .content-card) ul,
.single-post-area div:is(.blog_content, .content-card) ol {
    margin-bottom: 30px;
}
.single-post-area div:is(.blog_content, .content-card) ul li {
    list-style: unset;
    color:#10285d;
    margin-bottom:5px;
}

.single-post-area div:is(.blog_content, .content-card) .quote-wrapper .quotes * {
    margin:0;
    padding:0;
}
.single-post-area div:is(.blog_content, .content-card) figure {
    max-width:100%;
    margin:0;
}
.single-post-area div:is(.blog_content, .content-card) .alignleft {
    float:left;
    margin-right:15px;
    margin-bottom:15px;
}

.single-post-area div:is(.blog_content, .content-card) .alignright {
    float:right;
    margin-left:15px;
    margin-bottom:15px;
}

.single-post-area div:is(.blog_content, .content-card) .aligncenter {
    display:block;
    margin:15px auto;
}

.single-post-area div:is(.blog_content, .content-card) .wp-caption-text {
    font-style: italic;
    background: var(--border);
    text-align:center;
    font-size:14px;
    padding: 5px;
}

.single-post-area .navigation-top {
    background: var(--background);
}

.single_photoswipe {
    display:block;
    width:100%;
}
.single_photoswipe img {
    width:100%;
    max-width:100%;
    height:auto;
}

.galleria {
    margin: -5px;
}

.galleria figure {
    padding: 5px;
    margin:0;
}

.galleria a {
    display:inline-block;
    border: 1px solid var(--border);
    border-radius: .25rem;
    padding: .25rem;
}

.galleria img {
    max-width: 124px!important;
}

.home-blog-area .home-blog-single,
.home-blog-area .home-blog-single .blog-img-cap
{height:100%;}

.blog_right_sidebar .popular_post_widget .post_item .media-body p {font-size:14px!important;text-transform: uppercase;}


.header-top {
    position: fixed;
    width: 100%;
    z-index: 99999;
}
.header-bottom {
    padding-top: 54px;
}

.pis-li {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding-bottom:10px;
    border-bottom: 1px solid #fff;
}
ul.pis-ul > li:last-child { border-bottom: none;padding-bottom:0;margin-bottom:0;}
.pis-thumbnail, .pis-thumbnail img {
    width:75px;
    height:75px;
    flex: 0 0 90px;
    margin-bottom: 0;
}
.pis-title {
    flex: 0 0 calc(100% - 90px);
    line-height: 1;
    height: 75px;
    overflow: hidden;
    margin-bottom: 0;
}
.pis-title a {
    font-size: 16px;
    line-height: 1!important;
}
.pis-utility, .pis-categories-links {flex: 0 0 50%;font-size:14px!important;margin-bottom:0;margin-top:10px;}
.pis-categories-links {text-align:right;font-weight:bold;text-transform:uppercase;}

.single-post-area .arrow {
    top: 50%;
}

.single-post-area .arrow i {
    color: #fff;
    padding: 0 10px;
    font-size: 25px;
    pointer-events: none;
}


.slider-area2 {
    background-position:center;
}

.slider-area2 .hero-cap h2 {
    line-height: 1.2;
    color:#092c3f;
}

.home-blog-area .home-blog-single .blog-img-cap .blog-img {
    height:210px;
    display:flex;
    align-items: center;
    border: 1px solid var(--border-dark);
    background-color: var(--border);
}


.blog-img {display:block;}
.blog-img .date,
.blog-img .category {
    background-color: var(--background);
    padding: 10px 20px;
    position:absolute;
    width:auto;
    font-size:15px;
    text-transform: uppercase;
    pointer-events: none;
    color:var(--color)!important;
    -webkit-text-fill-color:var(--color)!important;
}

.blog-img .date { left:5px; bottom:5px;}
.blog-img .category {top:5px; right:5px;}

.home-blog-area .home-blog-single .blog-img-cap .blog-cap {padding: 50px 30px 30px;}
.blog-cap p {text-align: justify;}
.more-btn {text-transform: none!important;}

main.featured-bg {position:relative;}
main.featured-bg .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow:hidden;
    height:auto;
}
main.featured-bg .img img {filter: blur(5px) brightness(80%); transform:scale(1.2); }

main.featured-bg .img .bg-bottom {
    background: linear-gradient(0deg, rgba(255,255,255, 1) 0%, rgba(255,255,255, 0.8) 35%, rgba(255,255,255, 0) 100%);
    height: 20%;
    position: absolute;
    bottom: 0;
    left:0;
    width: 100%;
}

main.featured-bg > .slider-area2 .hero-overly2::before {
   /*  background: linear-gradient(180deg, rgba(13, 45, 62, 0.8) 35%, rgba(13, 45, 62, 0) 100%); */
    background: linear-gradient(180deg, rgba(255,255,255, 1) 0%, rgba(255,255,255, 0.8) 35%, rgba(255,255,255, 0) 100%);
}

main:not(.featured-bg) > .slider-area2 .hero-overly2::before {background:none;}
.slider-height2 {
    height: auto;
    padding: 80px 0;
}

.blog_area {padding-top:0;}

.blog_details img {
    max-width:100%;
    height: auto;
}

.single_sidebar_widget a {
    color: #10285d;
    line-height: 30px;
}





.content-card {
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.content-card.articoli-correlati a { color: var(--blueColor); word-break: break-word!important; }

.event-card {
    background: var(--border);
}

.event-card .card {
    border: none;
    background: none;
}

.acf-map {
    width: 100%;
    height: 350px;
}

.acf-map img {
   max-width: inherit !important;
}

/* .event-card i {
    color: var(--border-dark);
        font-size: 18px;
    width: 35px;
    text-align: center;
    position: relative;
    top: -3px;
} */

.blog-pagination .screen-reader-text {display:none;}
.blog-pagination .page-numbers {
    font-size: 14px;
    position: relative;
    display: block;
    padding: 0;
    text-align: center;
    margin-left: -1px;
    line-height: 45px;
    width: 45px;
    height: 45px;
    border-radius: 0 !important;
    color: #8a8a8a;
    border: 1px solid #f0e9ff;
    margin-right: 10px;
}
.blog-pagination .page-numbers.current {font-weight:bold;color:#000;}


.navigation-area .left .d-flex > div:first-child,
.navigation-area .right .d-flex > div:last-child {
    flex: 0 0 75px;
}
.navigation-area .thumb {
    margin-top:5px;
    position:relative;
    display:block;
}
.navigation-area h4 {margin:0;}
.navigation-area .thumb:before { 
    content: '\f104';   
    font-weight: 900;
    font-family: Font Awesome\ 5 Free;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: flex;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 75px;
    height: 75px;
    color: #fff;
    background: rgba(0,0,0,.5);
    opacity:0;
    transition: all .3s ease-in-out;
}
.navigation-area .thumb:hover:before {
    opacity:1;
}
.navigation-area .right .thumb:before {
    content: '\f105';
}
                                                                                                                            
.loghi {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
}

.loghi a {
    width: 225px;
    margin: 15px 5px;
    display: block;
}

.loghi a div {    
    height: 140px;
    /* border: 1px solid var(--border); */
    display:flex;
    justify-content: center;
    align-items:center;
}

.loghi img {
    filter:grayscale(80%);
    transition: all .3s ease-in-out;
    padding:5px;
    width:auto;
    max-height: 100%;
    max-width: 100%;
}

.loghi a:is(:hover,:focus) img {
    filter: grayscale(0);
}

.loghi p {
    text-align:center;
    font-size:14px!important;
    line-height: 1.5;
    margin-top: 10px;
}



.evento-online-action {
    background: #fff;
    text-transform: uppercase;
    padding: 40px;
}

/* @media (min-width: 768px) {
    .blog_details h2 {
        font-size: 32px;
    }
}
 */
 @media(min-width:992px) and (max-width:1199px) {
    .main-header .main-menu ul li:first-child {display:none;}
    .main-header .main-menu ul li a {
        font-size: 17px!important;
    }
    .loghi a {width: 170px;}
    .loghi a div {height:125px;}

    .header-info-right div.asl_w .probox {
        width: 220px!important;
    }
 }

@media(min-width:992px) {

    .sub-menu .sub-menu {
        left: 100%!important;
        margin-top: -50px;
     }
 
     .menu-item-has-children > a:after {                   
         padding-left: 15px;
         content: '\f107';
         font-weight: 900;
         font-family: Font Awesome\ 5 Free;
         -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
     } 

     .sub-menu .menu-item-has-children > a:after {
        content: none!important;
     }

     .header-bottom {
        transition: background .3s ease-in-out;
    }
    .header-bottom:hover {
        background: rgba(255,255,255,.8);
    }
    
    .current_page_ancestor > a, .current-menu-item > a { font-weight:bold!important; }
    .current-menu-item:not(.menu-item-has-children) > a { pointer-events: none; }

}

.slicknav_nav {
    height: calc(100vh - 156px);
    overflow: auto;
    margin-top:5px!important;
}

body.menu-open {
    height:100vh!important;
    overflow: hidden!important;
}

body.menu-open #back-top {display:none;}

.team-area {background:none;padding:30px 0!important;}

.fb-video, .fb-video > span, .fb-video > span > iframe {
    width: 100% !important;
}

 
@media (max-width: 991px) {

    .breadcrumbs { display: none; }

    .header-top {
        position:fixed;
        width:100%;
        z-index: 99999;
    }
    .header-bottom:not(.sticky-bar) {
        padding: 70px 0 17px 0!important;
    }
    .header-bottom.sticky-bar {
        top: 53px;
    }

    .header-top .header-info-left span {display:none;}
  /*   .header-social li .facebook {background:#3b5998;}
    .header-social li .twitter {background:#1da1f2;}
    .header-social li .instagram {background:#c13584;}
    .header-social li .whatsapp {background:#25d366;} */

    .single-post-area .blog_details {padding:30px 0;}
    .slicknav_nav {padding:20px 0;}
    .loghi img { filter:none!important; }

    .logo img{ max-height:100px;} 
    .mobile_menu .slicknav_menu .slicknav_btn {top: -65px;}
    .sticky-bar .logo img{ max-height:75px; }
    .sticky-bar .mobile_menu .slicknav_menu .slicknav_btn {top: -50px;}

    .single-slider { background:transparent!important; height:auto;}
    .single-slider .bg {display:none;}
    .single-slider .container {
        background: rgba(255,255,255,.8);
        padding-top: 25px;
    }
    /* .home-blog-area {padding-top:60px;} */
    .slider-area .hero__caption h1 {font-weight: 36px;}

    .home-blog-area .home-blog-single .blog-img-cap .blog-img { height: auto; min-height:150px; }

    .loghi a {width: 300px;}
    .loghi a div {height:185px;}

}

@media (max-width: 767px) {

    .loghi a {width: 100%;}
    .loghi a div {height: auto;}

}

@media (max-width: 560px) {
    .single-post-area .blog_details .alignleft,
    .single-post-area .blog_details .alignright,
    .single-post-area .blog_details .aligncenter {
        float:none!important;
        display:block;
        margin: 15px auto;
    }
    .single-post-area .blog_details .wp-caption {
        width:100%!important;
        margin: 0 0 15px 0!important;
    }
    .single-post-area .blog_details img[class*='wp-image']:not(.wp-caption),
    .single-post-area .blog_details figure:not(.wp-caption) img {
        max-width:100%;
        height:auto;
        margin: 15px auto;
    }

    .single-post-area .blog_details .wp-caption img {
        width:100%;
        margin: 0!important;
    }
}

@media (max-width: 450px) {
    .header-area .header-top .header-info-left ul li {
        margin-right:10px;
    }
    .header-area .header-top li a {
        width: 35px !important;
    }
    .header-area .header-top .header-social {
        padding-left:0!important;
    }
}


::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0     0 6px rgba(255, 255, 255, 0.1);
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height:10px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background: #007bff; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(45deg, #ea2a25 , #f69524, #faf014, #13a74f, #0173ba, #842990); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(45deg, #ea2a25, #f69524, #faf014, #13a74f, #0173ba, #842990); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(45deg, #ea2a25, #f69524, #faf014, #13a74f, #0173ba, #842990); /* For Firefox 3.6 to 15 */
    background: linear-gradient(45deg, #ea2a25 , #f69524, #faf014, #13a74f, #0173ba, #842990); /* Standard syntax (must be last) */
}
  
::-moz-selection {
    color: #fff;
    background: #0d2d3e;
}

::selection {
    color: #fff;
    background: #0d2d3e;
}
  
:focus {outline:none!important;}

.at-share-btn-elements > a:last-child {margin-right:0!important;}


.blog_content a {
    word-break: break-all;
}


.header-info-right .header-social,
.header-info-right .search-container {
    display: inline-block;
}

.header-area .header-top .header-info-left ul.header-social li {
    margin-right:0;
}

.header-area .header-top .header-info-left ul.header-social li i {
    text-align:center;
    margin: 0!important;
}


.header-info-right div.asl_w .probox {
    width: 365px;
}

.searchModalIcon {
    width:54px;
    height:54px;
    display: flex;
    justify-content: center;
    align-items:center;
}
.searchModalIcon i { color: #e94d65; font-size:14px; }
.searchModalIcon:hover { background: #e94d65; }
.searchModalIcon:hover i { color: #fff; }
#searchModal .modal-content {height: calc(100vh - 54px); background: #000; }
#searchModal .modal-body {/* background: #fff; */ padding:0; margin:1rem;}
#searchModalLabel {color:#fff;}
#ajaxsearchliteres2 { height: calc(100vh - 200px)!important;}
#ajaxsearchliteres2 .results {height:100%!important;}

div.asl_w .asl_content,
div.asl_w .asl_content > h3,
div.asl_w .asl_content > h3 > a {
    line-height:19px!important;
}
div.asl_r.vertical {
    border: 1px solid var(--border-dark)!important;
    border-top:none!important;
    margin-top: 3px !important;
}


.cc-floating .cc-message {
    font-family: 'Anivers' !important;
    font-size: 14px!important;
    line-height: 1.6!important;
}
.cc-floating .cc-message a{
    padding:0 !important;
}


.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe {
    max-width:100%!important;
}



.mejs-controls {z-index:1!important;}


.wp-video { width: 100% !important }
.wp-video video { width: 100% !important; height: 100% !important; }


#pagination-dropdown {
	border: 1px solid #f0e9ff;
	padding:0 10px!important;
}

#pagination-dropdown select {
	font-size: 16px;
	margin:auto;
    position: relative;
	background: #fff;
    display: block;
    padding: 0;
    height: 45px;
	line-height: 45px;
    color: #8a8a8a;
	border: none!important;
}

.single_photoswipe {
	margin:0!important; 
}
.single_photoswipe figure {
	padding: 0;
}

.single_photoswipe a {
	padding: 0;
	width: 100%;
	border: none;
}
.single_photoswipe img {
	max-width:100%!important; 
}
