@media screen and (max-width: 1200px) {

    /* regole CSS */
    .sppb-addon-articles .sppb-col-sm-3 {
        width: 33%;
    }
}

@media screen and (max-width: 767px) {
    .impresefareimpresa h2 {
        color: #28367e;
        display: block;
        clear: both;
        float: left;
        background: white;
        margin: 130px 0 0 0;
        font-size: 20px !important;
    }

    .sppb-addon-animated-number .sppb-addon-content {
        width: 90%;
    }

    .sppb-carousel-pro-text {
        width: 70%;
    }

    .impresanumbers {
        margin-top: 20px;
    }

    .impresebottoni .sppb-btn.sppb-btn-default.sppb-btn-rounded,
    .impresebottoni .sppb-btn.sppb-btn-default.sppb-btn-rounded:active {
        width: 46% !important;
    }

    /* regole CSS */
    .supermenucontainer .sppb-col-md-4 {
        border-right: 0px !important;
        border-bottom: 1px solid white !important;
    }

    .plg_geogoodies_more_content_container .sppb-col-sm-4,
    .related_by_tag .sppb-col-sm-4 {
        width: 50% !important;
    }

    .search-results .sppb-col-sm-4,
    .sppb-addon-articles .sppb-col-sm-3 {
        width: 50%;
    }

    .search-results .sppb-col-sm-4 {
        float: left;
    }

    .sppb-row-container {
        width: 100%;
    }

    .sp-default-logo {
        max-width: none;
        width: 220px !important;
    }

    #sp-logo {
        width: 28% !important
    }

    #sp-menu2 {
        width: 70% !important
    }

    .calltoactionbanner h3 {
        bottom: 100px !important;
    }

    #sp-main-body {
        position: relative !important;
    }

    #routeForm {
        width: 310px !important;
    }

    form#routeForm input#routeStart.routestart {
        width: 220px !important
    }

    a.calcroutea {
        float: left;
    }

    .plg_geogoodies_more_content_container,
    .sppb-addon-text-block,
    .sppb-addon-countdown,
    .sppb-addon-gallery,
    .sppb-addon-gmap,
    .sppb-social-share,
    div[itemprop="articleBody"] {
        padding: 30px 10px !important;
    }

    .plg_geogoodies_more_content_container .sppb-col-sm-4 {
        width: 50% !important;
        padding: 0 1% !important;
    }

    .search-results div {
        margin: 0 0 20px;
    }
}

@media screen and (max-width: 580px) {

    .carousellarghi .sppb-item > img{
        object-fit: scale-down !important;
        min-height: auto !important;
        height: auto !important;
    }
    .sppb-item.sppb-item-has-bg .sppb-carousel-item-inner{
        position: relative !important;
        padding: 0 0 20px 0 !important;
    }
    .sppb-item.sppb-item-has-bg .sppb-carousel-item-inner > div{
        width: 100% !important;
    }





    .impresebottoni .sppb-btn.sppb-btn-default.sppb-btn-rounded,
    .impresebottoni .sppb-btn.sppb-btn-default.sppb-btn-rounded:active {
        width: 91% !important;
    }

    .cadre_inner_texte_alert_cookies {
        font-size: 12px !important;
        width: 100% !important;
    }

    .cadre_bouton {
        width: 80%;
        left: -60px !important;
        position: relative;
    }

    .cadre_bouton .btn {
        font-size: 12px !important;
    }

    #sppb-addon-1494252485915 {
        background-position: 50%;
    }

    .sppb-img-responsive,
    .sppb-carousel-inner>.sppb-item>img,
    .sppb-carousel-inner>.sppb-item>a>img {
        width: 100% !important;
    }


    body {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    #section-id-1497354570839 {
        margin-top: -100px !important;
    }

    .plg_geogoodies_more_content_container .sppb-col-sm-4,
    .related_by_tag .sppb-col-sm-4 {
        width: 100% !important;
    }

    .sppb-hidden-sm,
    .sppb-empty-space {
        padding: 0px !important;
    }

    ul.sppb-nav-tabs li {
        width: 100px;
    }

    #sp-main-body {
        /*    	padding: 140px 0 !important;*/
    }

    .supermenucontainer,
    .supermenucontainer a,
    .supermenucontainer .sp-module ul>li>a {
        font-size: 16px !important;
    }

    /* regole CSS */
    #sp-menu2 {
        width: 100% !important;
        height: 30px;
        margin-top: 5px;
    }

    div#sppb-addon-1497519023190.sppb-wow.fadeIn.clearfix {
        visibility: visible !important
    }

    #sp-header .logo h1 {
        position: relative;
        top: 10px;
    }

    #sp-header {
        background-color: : none !important;
    }

    .calltoactionbanner h3 {
        max-width: 300px !important;
    }

    .splashpage .custom.socialdashboard {
        display: none;
    }

    .custom.socialdashboard {
        width: 100% !important;
        padding: 5px !important;
        bottom: 0px !important;
        background: none !important;
    }

    .socialdashboard p {
        margin: 0px !important;
    }

    .search-results .sppb-col-sm-4,
    .sppb-addon-articles .sppb-col-sm-3,
    .plg_geogoodies_more_content_container .sppb-col-sm-4 {
        width: 100% !important;
        padding: 0 15px !important;
    }

    #finder-search input,
    #finder-search button {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .lamialiguriatitle {
        height: 60px !important;
        top: -200px !important;
    }

    .lamialiguriatitle h2.sppb-addon-title {
        background: rgba(0, 0, 0, 0) url("/images/logo.png") no-repeat scroll center center / 300px auto !important;
        float: left;
        height: 100px;
        margin: 0 auto;
        width: 380px !important;
    }

    #tooltip-menu {
        display: none;
    }

    .menuprofili .sp-module-content li a {
        font-size: 18px !important;
    }

    .menuprofili .sp-module-content li a::before {
        font-size: 22px !important;
    }

    .cercalente::after,
    .linkgeo::after {
        font-size: 26px !important;
    }

    .socialdashboard img {
        margin-right: 4px !important;
    }

    .sp-default-logo {

        height: 50px;
        width: auto !important;

    }


    /** agg 290319 **/
    .menuprofili .sp-module-content li {
        width: 230px;
    }

    #sp-main-body {
        padding: 120px 0 !important;

    }

    #sp-menu {
        max-height: 61vh;
        padding-top: 20px;
    }

    #sp-menu2 {

        background: #01578e !important;
        position: absolute !important;
        top: -35px;
        transform: scale(.7);
        transform-origin: 100% 0px;

    }

    .sppb-carousel-item-inner .sppb-col-sm-6 {
        width: 100% !important;
    }

    .sppb-carousel-pro-text {
        width: 100%;
    }

    .supermenucontainer .sppb-col-md-4 {
        float: left;
    }

    .articlebody {
        background: white !important;
    }

    article .entry-image.full-image img {
        margin: 0 !important;
    }

    .supermenucontainer .sppb-col-md-4 {

        float: left;
        clear: both;
        width: 100% !important;
        padding-bottom: 10px !important;
        font-size: 12px !important;
        min-height: 0 !important;
        line-height: 14px;

    }

    .supermenucontainer .sppb-col-md-4 a {
        font-size: 12px !important;
        line-height: 14px;
    }

    .supermenucontainer {

        max-height: 60vh;
        overflow-y: scroll;
        border-radius: 0 !important;

    }

    .supermenucontainer .sppb-col-md-4 {
        min-height: auto !important;
    }

    .frecciasupermenusu::before {
        font-size: 50px !important;
        margin: 0 40% !important;
    }
}