/**
 * Owl Carousel v2.2.1
 * Copyright 2013-2017 David Deutsch
 * Licensed under  ()
 */
 .owl-carousel,
 .owl-carousel .owl-stage-outer,
 .owl-carousel .owl-stage,
 .owl-carousel, .owl-carousel .owl-item {
     position: static;
     z-index: 100;
 }
 .owl-carousel .owl-item img {
     width: auto;
     display: inline;
 }
 .owl-carousel .owl-item .hidden {
     display: none !important;
 }
 .owl-theme .owl-nav {
     margin-top: 10px;
     text-align: center;
     -webkit-tap-highlight-color: transparent;     
 }

 .owl-theme .owl-nav [class*='owl-'] {
     color: #FFF;
     font-size: 14px;
     margin: 5px;
     padding: 4px 7px;
     background: #D6D6D6;
     display: inline-block;
     cursor: pointer;
     border-radius: 3px; 
 }

 .owl-theme .owl-nav [class*='owl-']:hover {
       background: #869791;
       color: #FFF;
       text-decoration: none; }
 .owl-theme .owl-nav .disabled {
     opacity: 0.5;
     cursor: default; }
 
 .owl-theme .owl-nav.disabled + .owl-dots {
     margin-top: 10px;     
 }
 .owl-dot {
     cursor:pointer;
 }
 
 #dot_hpcarousel .owl-dot.active span, 
 #dot_hpcarousel .owl-dot:hover span {
     background: #252c34; 
 }
 
 .carousel-loader {
     z-index: 5555;
     position: absolute;
     top: 0px;
     left: 0px;
     width: 100%;
     height: 100%;
     background-color: #e5e5e5;
     
 }
 .carousel-loader img {
     position: absolute;
     width: 50px;
     top: calc(50% - 25px);
     left: calc(50% - 25px);
     display: block;
 }
 .owl-nav-carousel {
     height: 0px;
     position: relative;
 }
 .owl-nav-carousel a {
     position: absolute;
     z-index: 15;
     height: 40px;
     line-height: 40px;
     width: 40px;
     text-align: center;
     font-size: 20px;
     background-color: transparent;
     box-sizing: border-box;
 }
 #nav-slider-hp a {
     width: 40px;
     height: 40px;
     line-height: 40px;
     text-align: center;
     line-height: 38px;
     color: white;
     font-size: 15px;
     box-sizing: border-box;
     transition: all 0.2s;
     background-color: black;
     transition: all 0.5s;
     -webkit-transition: all 0.5s;            
 }

 #nav-slider-hp .owl-prev {
    /* left: calc(50% - 58px);
    right: auto; */
    right: 78px;
    opacity: 0;
    height: 58px;
    width: 58px;
    line-height: 58px;
    border: 1px solid;
    border-color: rgba(255, 255, 255, .30);
    background-color: rgba(255, 255, 255, .30);
    text-align: center;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
 }

 #nav-slider-hp .owl-next {
    /* right: calc(50% - 58px);
    left: auto; */
    opacity: 0;
    right: 20px;
    height: 58px;
    width: 58px;
    border: 1px solid;
    line-height: 58px;
    border-color: rgba(255, 255, 255, .30);
    background-color: rgba(255, 255, 255, .30);
    text-align: center;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;

 }
 
 /* Abilita l'hover per device non touch */
 @media only screen and (min-width:1025px) and (max-width:10000px) {
     #nav-slider-hp a:hover {
        color: white;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;        
        background-position: 0px 0px;
        background: rgb(89,89,89);
        background: -moz-linear-gradient(-45deg, rgba(0,78,159,0.50) 0%, rgba(255,185,16,0.50) 100%);
        background: -webkit-linear-gradient(-45deg, rgba(0,78,159,0.50) 0%, rgba(255,185,16,0.50) 100%);
        background: linear-gradient(-45deg, rgba(0,78,159,0.50) 0%, rgba(255,185,16,0.50) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#595959",endColorstr="#004e9f",GradientType=1);

        -webkit-box-shadow: 0px 0px 25px -5px rgba(0,0,0,0.5);
        box-shadow: 0px 0px 25px -5px rgba(0,0,0,0.5);
     }

     #nav-slider-double a:hover,
     #nav-slider-news a:hover,
     #nav-slider-evidenza a:hover,
     #nav-agenda a:hover {
        color: white;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;        
        background-position: 0px 0px;
        background: rgb(89,89,89);
        background: -moz-linear-gradient(-45deg, rgba(0,78,159,0.50) 0%, rgba(255,185,16,0.50) 100%);
        background: -webkit-linear-gradient(-45deg, rgba(0,78,159,0.50) 0%, rgba(255,185,16,0.50) 100%);
        background: linear-gradient(-45deg, rgba(0,78,159,0.50) 0%, rgba(255,185,16,0.50) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#595959",endColorstr="#004e9f",GradientType=1);

        -webkit-box-shadow: 0px 0px 25px -5px rgba(0,0,0,0.5);
        box-shadow: 0px 0px 25px -5px rgba(0,0,0,0.5);
     }

 }
 @media only screen and (min-width:320px) and (max-width:767px) { 
    .owl-nav-carousel a {
        height: 20px;
        line-height: 20px;
        width: 20px;
        font-size: 12px; 
    }

    #nav-slider-hp .owl-prev{
        right: 57px;
    }

    #nav-slider-hp .owl-prev,
    #nav-slider-hp .owl-next {
        width: 38px;
        height: 38px;   
        line-height: 38px;
        font-size: 12px;
    }
    .slider-link {
        height: 38px;
        width: 100px;
    }
    .slider-link a {
        font-size: 10px;
        line-height: 38px;
    }
    #nav-slider-news {
        margin-top: 40px;
        width: 90px;
        height: 120px;
        position: absolute;
    } 
    #nav-slider-news .owl-prev {
        height: 38px;
        width: 38px;
        line-height: 38px;
        right: 39px;
    }
    #nav-slider-news .owl-next {
        height: 38px;
        width: 38px;
        line-height: 38px;
        right: 0px;
    }

 }
 