﻿

/* ************************************************************************************ */
/* ********************************  OVERRIDE ***************************************** */
/* ************************************************************************************ */

@MEDIA all AND (min-width: 1280px )
{
    #formid_centro {
    min-height: 600px;
    }
}

/* ************************************************************************************ */
/* ********************************  IMPOSTAZIONI GENERALI **************************** */
/* ************************************************************************************ */

body {
    font-family: 'Barlow';
    /* font-size: .8338rem; */
    font-size: 1rem;
    color: black;
    background-color: #fff;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
    position: relative;
    height: auto !important;
    font-weight: 400
}

.it-hero-wrapper.it-overlay.it-dark .img-responsive-wrapper:after {
    background: rgba(70, 70, 70, .54);
}

#boxTotale {
    transition: all 0.3s ease 0s;
}

h1, .h1 {
    font-size: 3.429em; /* 48px */
}

h2, .h2 {
    font-size: 2.571em; /* 36px */
}

h3, .h3 {
    font-size: 1.714em; /* 24px */
}

h4, .h4 {
    font-size: 1.286em; /* 18px */
}

h6, .h6 {
    font-weight: unset;
}

.hidden {
    display: none !important
}

.collapse {
    display: none;
}

    .collapse.in {
        display: block;
    }

tr.collapse.in {
    display: table-row;
}

tbody.collapse.in {
    display: table-row-group;
}

.collapsing {
    height: 0;
    overflow: hidden;
    -webkit-transition-property: height,visibility;
    transition-property: height,visibility;
    -webkit-transition-duration: .35s;
    transition-duration: .35s;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
}

#overlay {
    background: #000000 none repeat scroll 0 0;
    height: 100%;
    left: 400px;
    opacity: 0.4;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

/*** SFONDI, PULSANTI E COLORI PERSONALIZZATI ***/

.bg-blu {
    background-color: #003882 !important;
    color: #fff !important
}

.bg-bluscuro {
    background-color: #003274 !important;
    color: #fff !important
}

.bg-nonantola, .bg-nonantola button, .bg-nonantola a, .bg-nonantola * {
    background-color: #A30000 !important;
    color: white !important;
}

    .bg-nonantola input[type=date], .bg-nonantola input[type=datetime-local], .bg-nonantola input[type=email], .bg-nonantola input[type=number], .bg-nonantola input[type=password],
    .bg-nonantola input[type=search], .bg-nonantola input[type=tel], .bg-nonantola input[type=text], .bg-nonantola input[type=time], .bg-nonantola input[type=url], textarea {
        background-color: white !important;
    }

.bg-nonantola-scuro {
    background-color: #E6E6E6 !important;
    color: #191919 !important;
}

a {
    color: black;
}

    a.agenda {
        text-decoration: none;
    }

.bg-nonantola a {
    color: white !important;
}

.bg-nonantola-scuro a {
    color: #191919;
}

.container li a:focus {
    outline: 1px solid #A30000 !important
}

.bg-nonantola .container li a:focus {
    outline: 1px solid white !important
}

.row.clearfix a:focus {
    outline: 1px solid #A30000 !important
}

.bg-nonantola .row.clearfix a:focus {
    outline: 1px solid white !important
}

.form-check [type=checkbox]:focus + label, .form-check [type=radio]:focus + label, .toggles label input[type=checkbox]:focus + .lever, :focus {
    border-color: #A30000;
    -webkit-box-shadow: 0 0 0 2px #A30000;
    box-shadow: 0 0 0 2px #A30000;
    outline: 0;
}

.pagination .page-item .page-link[aria-current] {
    border: 0px solid #A30000;
    border-bottom: 1px solid #A30000;
    color: #A30000;
    pointer-events: none;
}

.btn-trasparente {
    background: transparent;
    border: 1px solid #003882;
    border-radius: 4px;
    box-shadow: inset 0 -1px 0 0 rgba(255,255,255,0.33);
    -webkit-box-shadow: inset 0 -1px 0 0 rgba(255,255,255,0.33);
    color: #003882 !important;
    font-weight: 600;
    font-size: .889em;
    padding: 4px 12px;
    vertical-align: middle;
    margin: 0 8px
}

    .btn-trasparente:last-child {
        margin-right: 0
    }

    .btn-trasparente.active {
        background: #4e7e5b;
        color: #fff !important;
        border: 1px solid #395c42;
        -webkit-box-shadow: none !important;
        box-shadow: none !important
    }

    .btn-trasparente.activepart {
        background: rgba(116,166,129,0.5);
        color: #fff !important;
        border: 1px solid #395c42;
        -webkit-box-shadow: none !important;
        box-shadow: none !important
    }

    .btn-trasparente:hover {
        background: #395c42;
        color: #fff !important
    }

.btn-viola {
    color: #fff !important;
    padding: 8px 24px;
    background: #B83F39;
    margin: 0 16px 24px 0
}

.bg-nonantola .btn-viola {
    color: #A30000 !important;
    background: white !important;
}

    .btn-viola.btn-trasparente,
    .btn-viola.btn-trasparente.active:hover {
        background: white;
        color: #B83F39 !important;
        border-color: #B83F39;
    }

        .btn-viola.btn-trasparente.active,
        .btn-viola.btn-trasparente:hover {
            background: #B83F39;
            color: white !important;
            border-color: #B83F39;
        }

.btn-viola.btn-primary:hover {
    color: #A30000!important;
    background-color: white;
    border-color: #A30000;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #A30000 !important;
    background-color: white;
    border-color: #A30000;
}

.btn-primary.focus, .btn-primary:focus, .form-check [type=checkbox]:focus + label.btn-primary, .form-check [type=radio]:focus + label.btn-primary, .toggles label input[type=checkbox]:focus + .btn-primary.lever {
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%), 0 0 0 0.2rem rgb(100 0 0 / 50%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%), 0 0 0 0.2rem rgb(100 0 0 / 50%);
}

    .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .form-check .show > [type=checkbox]:focus + label.btn-primary.dropdown-toggle, .form-check .show > [type=radio]:focus + label.btn-primary.dropdown-toggle, .form-check [type=checkbox]:focus + label.btn-primary:not(:disabled):not(.disabled).active, .form-check [type=checkbox]:focus + label.btn-primary:not(:disabled):not(.disabled):active, .form-check [type=radio]:focus + label.btn-primary:not(:disabled):not(.disabled).active, .form-check [type=radio]:focus + label.btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle:focus, .toggles label .show > input[type=checkbox]:focus + .btn-primary.dropdown-toggle.lever, .toggles label input[type=checkbox]:focus + .btn-primary.lever:not(:disabled):not(.disabled).active, .toggles label input[type=checkbox]:focus + .btn-primary.lever:not(:disabled):not(.disabled):active {
        -webkit-box-shadow: inset 0 3px 5px rgb(0 0 0 / 13%), 0 0 0 0.2rem rgb(100 0 0 / 50%);
        box-shadow: inset 0 3px 5px rgb(0 0 0 / 13%), 0 0 0 0.2rem rgb(100 0 0 / 50%);
    }

.btn.focus, .btn:focus, .form-check [type=checkbox]:focus + label.btn, .form-check [type=radio]:focus + label.btn, .toggles label input[type=checkbox]:focus + .btn.lever {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgb(100 0 0 / 50%);
    box-shadow: 0 0 0 0.2rem rgb(100 0 0 / 50%);
}

    .btn:not(:disabled):not(.disabled).active:focus, .btn:not(:disabled):not(.disabled):active:focus, .form-check [type=checkbox]:focus + label.btn:not(:disabled):not(.disabled).active, .form-check [type=checkbox]:focus + label.btn:not(:disabled):not(.disabled):active, .form-check [type=radio]:focus + label.btn:not(:disabled):not(.disabled).active, .form-check [type=radio]:focus + label.btn:not(:disabled):not(.disabled):active, .toggles label input[type=checkbox]:focus + .btn.lever:not(:disabled):not(.disabled).active, .toggles label input[type=checkbox]:focus + .btn.lever:not(:disabled):not(.disabled):active {
        -webkit-box-shadow: 0 0 0 0.2rem rgb(100 0 0 / 25%), inset 0 3px 5px rgb(0 0 0 / 13%);
        box-shadow: 0 0 0 0.2rem rgb(100 0 0 / 25%), inset 0 3px 5px rgb(0 0 0 / 13%);
    }

.filtro {
    text-align: right;
    font-size: 1.056rem;
}

    .filtro .btn-trasparente {
        margin-left: 0;
        margin: 0 8px 8px 0
    }


/*** MARGIN E PADDING STANDARD ***/

.mt0 {
    margin-top: 0 !important
}

.mb0 {
    margin-bottom: 0 !important
}

.ml0 {
    margin-left: 0 !important
}

.mr0 {
    margin-right: 0 !important
}

.mt8 {
    margin-top: 8px !important
}

.mb8 {
    margin-bottom: 8px !important
}

.ml8 {
    margin-left: 8px !important
}

.mr8 {
    margin-right: 8px !important
}

.mt12 {
    margin-top: 12px !important
}

.mb12 {
    margin-bottom: 12px !important
}

.ml12 {
    margin-left: 12px !important
}

.mr12 {
    margin-right: 12px !important
}

.mt16 {
    margin-top: 16px !important
}

.mb16 {
    margin-bottom: 16px !important
}

.ml16 {
    margin-left: 16px !important
}

.mr16 {
    margin-right: 16px !important
}

.mt20 {
    margin-top: 20px !important
}

.mb20 {
    margin-bottom: 20px !important
}

.ml20 {
    margin-left: 20px !important
}

.mr20 {
    margin-right: 20px !important
}

.mt24 {
    margin-top: 24px !important
}

.mb24 {
    margin-bottom: 24px !important
}

.ml24 {
    margin-left: 24px !important
}

.mr24 {
    margin-right: 24px !important
}

.mt32 {
    margin-top: 32px !important
}

.mb32 {
    margin-bottom: 32px !important
}

.ml32 {
    margin-left: 32px !important
}

.mr32 {
    margin-right: 32px !important
}

.mt40 {
    margin-top: 40px !important
}

.mb40 {
    margin-bottom: 40px !important
}

.ml40 {
    margin-left: 40px !important
}

.mr40 {
    margin-right: 40px !important
}

.mt48 {
    margin-top: 48px !important
}

.mb48 {
    margin-bottom: 48px !important
}

.ml48 {
    margin-left: 48px !important
}

.mr48 {
    margin-right: 48px !important
}

.mt64 {
    margin-top: 64px !important
}

.mb64 {
    margin-bottom: 64px !important
}

.ml64 {
    margin-left: 64px !important
}

.mr64 {
    margin-right: 64px !important
}

.pt8 {
    padding-top: 8px !important
}

.pb8 {
    padding-bottom: 8px !important
}

.pl8 {
    padding-left: 8px !important
}

.pr8 {
    padding-right: 8px !important
}

.pt12 {
    padding-top: 12px !important
}

.pb12 {
    padding-bottom: 12px !important
}

.pl12 {
    padding-left: 12px !important
}

.pr12 {
    padding-right: 12px !important
}

.pt16 {
    padding-top: 16px !important
}

.pb16 {
    padding-bottom: 16px !important
}

.pl16 {
    padding-left: 16px !important
}

.pr16 {
    padding-right: 16px !important
}

.pt32 {
    padding-top: 32px !important
}

.pb32 {
    padding-bottom: 32px !important
}

.pl32 {
    padding-left: 32px !important
}

.pr32 {
    padding-right: 32px !important
}

.pt64 {
    padding-top: 64px !important
}

.pb64 {
    padding-bottom: 64px !important
}

.pl64 {
    padding-left: 64px !important
}

.pr64 {
    padding-right: 64px !important
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 24px
}

/*** MAIN HEADER ***/

#mainheader {
    height: auto;
    color: #fff;
    position: relative;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

    #mainheader #formid_intestazione1 {
        height: 40px;
        padding: 0;
        margin: 0;
        line-height: 40px;
        -webkit-transition: all .3s ease 0s;
        -o-transition: all .3s ease 0s;
        transition: all .3s ease 0s
    }

        #mainheader #formid_intestazione1 a {
            text-decoration: none;
            height: 40px;
            display: inline-block;
            vertical-align: middle;
            padding: 0 24px;
        }

        #mainheader #formid_intestazione1 .ente-appartenenza a {
            padding: 0;
        }

        #mainheader #formid_intestazione1 a:hover {
            border-bottom: 1px solid white;
        }

        #mainheader #formid_intestazione1 a.active {
            border-bottom: 2px solid #B83F39;
            margin-bottom: -2px;
        }
            #mainheader #formid_intestazione1 .entesup .logotxt a {
            color: #fff
        }

        #mainheader #formid_intestazione1 .sitiverticali {
            margin: 0;
            border: 0;
            text-align: center;
            height: 40px;
            padding: 0;
            line-height: 38px
        }

    /*** logo nome ente ***/

    #mainheader .logo-nome-ente {
        margin-top: .3rem;
    }

    #mainheader .logoimg {
        display: inline-block;
        vertical-align: middle;
    }

        #mainheader .logoimg img {
            height: 48px;
            max-height: 48px
        }

    #mainheader .comune .logoimg a:focus {
        outline: 0 transparent !important
    }

    #mainheader .comune .logotxt {
        vertical-align: middle;
        text-align: left;
        margin-left: 15px;
        display: inline-block;
    }

        #mainheader .comune .logotxt .h1 a, #mainheader .comune .logotxt .h1 a:hover {
            text-decoration: none
        }

            #mainheader .comune .logotxt .h1 a:focus, #mainheader .comune .logotxt .h1 a:hover:focus {
                text-decoration: underline;
                outline: 1px solid #ff8c00 !important
            }


    /*** cerca e iscriviti ***/
    #mainheader .btn-cerca {
        border: 0;
        border-radius: 50%;
        padding: .5rem .85rem;
        margin-top: -14px;
        margin-left: .5rem;
        font-size: 1.2rem;
        background: white !important;
        color: #A30000 !important;
    }

    #mainheader .p_cercaMobile .btn-cerca {
        margin-top: .2rem;
        margin-left: 0;
    }

    #mainheader .cerca .boxRicerca {
        display: inline-block;
        vertical-align: text-bottom;
        line-height: 2rem;
        font-weight: bold;
        font-size: 0.95rem;
    }

.boxRicerca span.fa.fa-search {
    color: #A30000 !important;
    background-color: white !important;
}

    #mainheader .cerca .boxIscriviti {
        display: inline-block;
        vertical-align: text-bottom;
    }

        #mainheader .cerca .boxIscriviti a.btn.btn-default {
            margin-top: 1em;
            margin-bottom: 0;
        }

/*** HEADER ONSCROLL ***/

@MEDIA all AND (max-width: 767px)
    {
    body.onscroll { padding-top: 130px !important }
    }

.onscroll #mainheader {
    height: 61px;
    position: fixed;
    top: 0;
    padding: 0 !important;
    z-index: 1071;
    width: 100%;
}

    .onscroll #mainheader #formid_intestazione1 {
        display: none
    }

    .onscroll #mainheader #sub_nav {
        z-index: 999;
        position: absolute;
        left: 8rem;
        top:0;
    }

        .onscroll #mainheader #sub_nav .sub_nav {
            margin: 0;
        }

    .onscroll #mainheader .list_link-utili {
        display: none;
    }

    .onscroll #mainheader .menu-argomenti.dropdown {
        display: none;
    }

    .onscroll #mainheader .cerca .boxIscriviti {
        display: none;
    }

    .onscroll #mainheader #sub_nav .col-lg-6.pull-left {
        margin-left: 80px
    }

    .onscroll #mainheader #sub_nav .list_link-utili {
        display: none
    }

    .onscroll #mainheader .social {
        display: none
    }

    .onscroll #mainheader .comune .logoimg {
        margin-top: 5px;
    }

        .onscroll #mainheader .comune .logoimg img {
            height: 36px !important;
            z-index: 1000;
            position: relative
        }

    .onscroll #mainheader .p_cercaMobile .btn-cerca {
        margin-top: .1rem;
    }

    .onscroll #mainheader .comune .logotxt {
        /*display: none*/
    }

        .onscroll #mainheader .comune .logotxt h1 {
            height: 48px;
            max-height: 48px;
            vertical-align: middle
        }

    .onscroll #mainheader .cerca {
        margin-top: 1rem;
        padding-top: 0;
        z-index: 1000;
        position: relative;
    }

    .onscroll #mainheader .btn-cerca {
        padding: .3rem .6rem;
        margin-top: -9px;
        font-size: 1.056rem;
    }

/*** ICONA MENU ECM ***/
#formid_intestazione2 .burger-wrapper {
    z-index: 500;
}

div#Burger1 {
    position: absolute;
    left: 0;
    padding: .5rem;
}

.onscroll div#Burger1 {
    top: -1rem;
}

#formid_intestazione2 .burger-wrapper * {
    z-index: 500;
}

#formid_intestazione2 .burger-wrapper #burger-wrapper {
    width: auto;
    text-align: center;
    text-transform: uppercase;
    padding-top: .5em;
    padding-top: .5rem;
}

#burger-wrapper .menu-icon {
    font-size: .6rem;
    display: block;
}

#nav-icon {
    width: auto;
    height: auto;
    font-size: 3rem;
    position: relative;
    color: #333;
    display: block;
    padding: .2rem .5rem .5rem;
    max-width: 70px;
}

    #nav-icon span {
        display: block;
    }

.navbar-toggle.menu-active .icon-bar {
    -ms-filter: "alpha(opacity=$ms)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    position: absolute;
    height: 4px;
    background: #fff;
    -webkit-transition: all .3s cubic-bezier(0.35,0.085,0.305,1.005);
    -moz-transition: all .3s cubic-bezier(0.35,0.085,0.305,1.005);
    -o-transition: all .3s cubic-bezier(0.35,0.085,0.305,1.005);
    transition: all .3s cubic-bezier(0.35,0.085,0.305,1.005)
}

.navbar-toggle.menu-active .icon-bar1 {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -ms-filter: "alpha(opacity=$ms)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    background: #fff;
    top: 8px
}

.navbar-toggle.menu-active .icon-bar3 {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -ms-filter: "alpha(opacity=$ms)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    background: #fff;
    top: -8px
}


/***  MENU ECM ***/
#boxTotale.menu-open {
    margin-left: 400px;
    margin-right: -400px;
}

#menuEcm * {
    z-index: 500;
}

#menuEcm {
    transition: all 0.3s ease 0s;
    display: block;
    position: fixed;
    width: 400px;
    top: 0;
    z-index: 500;
    height: 100%;
    overflow-y: scroll;
    padding-top: 1rem;
}

    #menuEcm.menu-close {
        left: -400px;
    }

    #menuEcm.menu-open {
        left: 0;
    }

    #menuEcm ul {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    #menuEcm .navbar-nav li {
        display: block;
        width: 100%;
        border-top: 1px solid #e7e7e7;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

        #menuEcm .navbar-nav li a {
            padding: .5rem 1rem;
            line-height: 1.2em;
            display: block;
            color: #000000;
        }

    #menuEcm ul.boxCategorie li.categoria {
        background: #D3D3D3;
    }

    #menuEcm ul.boxCategorie li .spanCategoria a {
        padding: 1rem;
        color: Black;
    }

    #menuEcm ul.boxCategorie li.pagina {
        background: #B3B3B3;
    }

    #menuEcm ul.boxPagine li .spanPagina a {
        padding-left: 2rem;
        color: Black;
        line-height: 1.2em;
    }

    #menuEcm ul.boxCategorie li.sottoPagina {
        background: #555555;
    }

    #menuEcm ul.boxSottoPagine li .spanSottoPagina a {
        padding: 1rem;
        padding-left: 3rem;
        color: White;
    }

    #menuEcm ul li .spanArea {
        display: inline-block;
        width: 85%;
        vertical-align: middle;
    }

    #menuEcm ul li .spanCategoria {
        display: inline-block;
        width: 85%;
        vertical-align: middle;
    }

    #menuEcm ul li .spanPagina {
        display: inline-block;
        width: 85%;
        vertical-align: middle;
    }

    #menuEcm ul li .collapse-icon {
        display: inline-block;
        width: 10%;
        vertical-align: middle;
    }

    #menuEcm .navbar-nav li a.selected {
        font-weight: bold;
    }


.cbp-spmenu .user-burger {
    height: 136px;
    padding: 25px 25px
}

    .cbp-spmenu .user-burger .usertitle-burger {
        position: relative
    }

        .cbp-spmenu .user-burger .usertitle-burger .avatar-wrapper {
            width: 48px;
            height: 48px;
            margin-right: 12px;
            vertical-align: middle;
            display: inline-block
        }

        .cbp-spmenu .user-burger .usertitle-burger .avatar.size-lg {
            width: 48px;
            height: 48px
        }

            .cbp-spmenu .user-burger .usertitle-burger .avatar.size-lg .avatar-notifiche {
                position: absolute;
                color: #fff;
                font-size: .500em;
                font-weight: 600;
                background: #d71820;
                width: 12px;
                height: 12px;
                display: block;
                border-radius: 50%;
                display: flex;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                justify-content: center;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                top: 4px;
                right: -6px
            }

        .cbp-spmenu .user-burger .usertitle-burger span {
            font-weight: 600;
            font-size: 1.125em;
            display: inline-block;
            vertical-align: middle
        }

        .cbp-spmenu .user-burger .usertitle-burger svg.icon {
            fill: #fff;
            position: absolute;
            width: 22px;
            height: 22px;
            top: 0;
            right: 0
        }

.cbp-spmenu .usermail-burger {
    margin-top: 24px
}

    .cbp-spmenu .usermail-burger a {
        font-size: .750em;
        color: #FFF
    }

.cbp-spmenu .logo-burger {
    margin: 0 0 25px 25px
}

.cbp-spmenu .logo-burger-user {
    margin: 25px 0 25px 25px
}

.cbp-spmenu .logoimg-burger {
    display: inline-block;
    width: 50px;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.cbp-spmenu .logoimg-burger img {
    margin-top: 13px;
    height: 30px;
    max-height: 30px
}

.cbp-spmenu .logotxt-burger {
    vertical-align: sub;
    text-align: left;
    margin: 0 0 0 5px;
    display: inline-block;
    width: 200px !important;
}

    .cbp-spmenu .logotxt-burger a {
        font-size: 1.375em;
        line-height: 3rem;
        vertical-align: bottom;
        display: table-cell;
        font-weight: bold;
    }

        .cbp-spmenu .logotxt-burger a:hover {
            text-decoration: none
        }

.cbp-spmenu {
    position: fixed;
    background: #fff
}

.cbp-spmenu-vertical {
    width: 300px;
    height: 100%;
    top: 0;
    z-index: 99999;
    overflow-y: scroll;
    position: fixed
}

.cbp-spmenu-left {
    left: -300px
}

.cbp-spmenu-right {
    right: -300px
}

.cbp-spmenu-left.menu-open {
    left: 0
}

.cbp-spmenu-right.menu-open {
    right: 0
}

.push-body {
    overflow-x: hidden;
    position: relative;
    left: 0;
    padding: 0 !important
}

    .push-body.navbar-toggle {
        overflow-y: hidden;
        overflow: hidden !important
    }

.push_container {
    position: relative;
    left: 0
}

.push-body-toright .push_container {
    left: 300px
}

.cbp-spmenu, .push-body, .push_container {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease
}


    .cbp-spmenu .accedi {
        margin: 15px 25px
    }

        .cbp-spmenu .accedi .btn-accedi {
            color: #003882
        }

        .cbp-spmenu .accedi span.icon.fa.fa-user {
            background: white;
            width: auto;
            height: auto;
            padding: .6rem .7rem;
            margin-right: .3rem;
            border-radius: 50%;
            font-size: 1.056rem;
            border: 1px solid;
        }

    .cbp-spmenu .list_link-utili {
        display: inline-block;
        width: 100%;
        padding: 0;
        margin: 1rem 0 0 0;
    }

        .cbp-spmenu .list_link-utili a {
            display: block;
            width: 100%;
            padding: .5rem 1rem;
            border-top: 1px solid #e7e7e7;
        }

            .cbp-spmenu .list_link-utili a:hover {
                background: gainsboro;
            }


/*** MENU ECM SX e MENU ARGOMENTI DX SOTTO L'INTESTAZIONE ***/
.sub_nav,
.list_link-utili {
    display: inline-block;
    padding: 0;
    margin: 1rem 0 0 0;
}

    .sub_nav li,
    .list_link-utili li {
        display: inline-block;
        padding: 0;
        margin: 0;
        font-size: 1.056rem;
        position: relative;
    }

    .list_link-utili li {
        font-size: 1.056rem;
    }

    .list_link-utili .bar-content-edit {
        display: none
    }

    .sub_nav li a {
        padding: .75rem 1.75rem;
        display: inline-block;
        text-decoration: none;
        margin-bottom: .2rem;
    }

    .list_link-utili li a {
        padding: .75rem 1rem;
        display: inline-block;
        text-decoration: none;
        margin-bottom: .2rem;
    }

    .sub_nav li:first-child a {
        padding-left: 0
    }

    .sub_nav li a:focus,
    .sub_nav li a:hover,
    .list_link-utili li a:focus,
    .list_link-utili li a:hover {
        color: #B83F39;
        border-bottom: 2px solid #B83F39;
        margin-bottom: -2px;
    }

    .sub_nav li a.selected {
        color: #B83F39;
        border-bottom: 2px solid #B83F39;
    }

    .sub_nav li.active a,
    .list_link-utili li.active a {
        border-bottom: 4px solid #fff !important
    }

.dropdown {
    display: inline-block;
}

    .dropdown .btn {
        font-weight: normal;
        font-size: 1.056rem;
        margin-top: -4px;
    }

.open > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    box-shadow: 3px 3px 6px #555;
    right: 0;
    left: auto;
    min-width: 20rem;
    font-size: 1.056rem;
}

    .dropdown-menu:before {
        right: 42px;
        left: auto;
    }

    .dropdown-menu UL LI {
        list-style: none;
    }

        .dropdown-menu UL LI A {
            list-style: none;
            padding: 0.5rem 1rem;
            border-bottom: 1px dashed #ccc;
            margin-bottom: 0.2rem;
            text-decoration: none;
        }

        .dropdown-menu UL LI A {
            display: block;
        }

            .dropdown-menu UL LI:hover, .dropdown-menu UL LI A:hover {
                background-color: #e7b142!important;
                color: black!important;
                display: block;
                font-weight: 600;
                text-decoration: none;
            }


#Area_Visite .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
}

    #Area_Visite .dropdown-menu:before {
        right: auto;
        left: 50px;
    }

.sub_nav .menu-visite a {
    padding: 0;
    margin: 0;
}

li .dropdown-menu .menu-visite a {
    display: inline-block;
    text-decoration: underline;
    margin: 0 0 1rem 0;
    padding: 0 .8rem;
    line-height: 1.8rem;
}

#Area_Visite .container {
    width: 100%;
    margin: 0;
    padding: 1rem;
}

#Area_Visite .container .row {
    margin-left: 0;
    margin-right: 0;
}

.sub_nav .menu-visite a:focus,
.sub_nav .menu-visite a:hover {
    color: #B83F39;
    border-bottom: none;
}

.bg-nonantola .menu-visite .btn,
.bg-nonantola .menu-argomenti .btn {
    color: white;
}

.bg-nonantola .dropdown-menu.argomenti a {
    color: white;
}

.sub_nav .menu-orari-contatti {
    font-size: .85rem;
}

    .sub_nav .menu-orari-contatti a {
        color: #A30000 !important;
        text-decoration: underline;
    }



/*** BANNER SLIDER HOME ***/
.carousel-inner {
    overflow: hidden;
    width: 100%;
}

    .carousel-inner > .item {
        display: none;
        position: relative;
        -webkit-transition: .6s ease-in-out left;
        -o-transition: .6s ease-in-out left;
        transition: .6s ease-in-out left;
    }

        .carousel-inner > .item > a > img, .carousel-inner > .item > img {
            display: block;
            max-width: 100%;
            height: auto;
            line-height: 1;
        }

    .carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev {
        display: block;
    }

    .carousel-inner > .active {
        left: 0;
    }

    .carousel-inner > .next, .carousel-inner > .prev {
        position: absolute;
        top: 0;
        width: 100%;
    }

    .carousel-inner > .next {
        left: 100%;
    }

    .carousel-inner > .prev {
        left: -100%;
    }

        .carousel-inner > .next.left, .carousel-inner > .prev.right {
            left: 0;
        }

    .carousel-inner > .active.left {
        left: -100%;
    }

    .carousel-inner > .active.right {
        left: 100%;
    }

.carousel-control {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 15%;
    opacity: .5;
    filter: alpha(opacity=50);
    background-color: transparent;
    color: white;
}

    .carousel-control.left {
        background-image: -webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
        background-image: -o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
        background-image: linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
        background-repeat: repeat-x;
    }

    .carousel-control.right {
        left: auto;
        right: 0;
        background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
        background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
        background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
        background-repeat: repeat-x;
    }

    .carousel-control:focus, .carousel-control:hover {
        color: #fff;
        text-decoration: none;
        opacity: .9;
        filter: alpha(opacity=90);
    }

    .carousel-control .fa-angle-left, .carousel-control .fa-angle-right, .carousel-control .icon-next, .carousel-control .icon-prev {
        position: absolute;
        top: 50%;
        margin-top: -10px;
        z-index: 5;
        display: inline-block;
    }

    .carousel-control .fa-angle-left, .carousel-control .icon-prev {
        left: 50%;
    }

    .carousel-control .fa-angle-right, .carousel-control .icon-next {
        right: 50%;
        margin-right: -10px;
    }

    .carousel-control .icon-next, .carousel-control .icon-prev {
        width: 20px;
        height: 20px;
        line-height: 1;
        font-family: serif;
    }

        .carousel-control .icon-prev:before {
            content: '\2039';
        }

        .carousel-control .icon-next:before {
            content: '\203a';
        }

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 15;
    width: 60%;
    margin-left: -30%;
    padding-left: 0;
    list-style: none;
    text-align: center;
}

    .carousel-indicators li {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 1px;
        text-indent: -999px;
        border: 1px solid #fff;
        border-radius: 10px;
        cursor: pointer;
        background-color: transparent;
    }

    .carousel-indicators .active {
        margin: 0;
        width: 12px;
        height: 12px;
        background-color: #fff;
    }

.carousel-caption {
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 20px;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .carousel-caption .btn, .text-hide {
        text-shadow: none;
    }


#slideshowWrapper {
    position: relative;
    width: 100%;
    margin: auto;
    height: 380px !important;
}

    #slideshowWrapper IMG {
        position: relative;
        width: 100%;
        margin: auto;
        height: 380px !important;
    }

    #slideshowWrapper .carousel-caption {
        background-color: rgba(0,0,0,0.7);
        padding: 0.4rem 0.4rem 1.3rem 0.4rem;
        border-radius: 10px;
    }

    #slideshowWrapper p {
        font-size: 1.000em;
        line-height: 1.1rem;
    }

    #slideshowWrapper .h3, #slideshowWrapper h3 {
        margin: 0.5rem;
    }

ul#slideshow {
    list-style: none;
    border: none;
    padding: 0px;
    margin: 0px;
    width: 100% !important;
    height: 400px !important;
    overflow: hidden;
}

    ul#slideshow li.singolo-banner {
        display: none;
        width: 100% !important;
        height: 400px !important;
    }

        ul#slideshow li.singolo-banner.item-number1 {
            display: list-item;
        }

        ul#slideshow li.singolo-banner span {
            -webkit-backface-visibility: hidden !important;
        }

#slideshowWrapper .carousel-control:focus, #slideshowWrapper .carousel-control:hover {
    border: 1px dotted black;
}

.carousel-control .fa-angle-left, .carousel-control .fa-angle-right,
.carousel-control .fa-angle-left, .carousel-control .fa-angle-right,
.carousel-control .icon-next, .carousel-control .icon-prev {
    margin-top: -90px;
    font-size: 2.5em;
    background-color: rgba(0,0,0,0.7);
    padding: .4rem 1rem .5rem .9rem;
    border-radius: 5px;
}

.carousel-control.left, .carousel-control.right {
    opacity: 1;
}

/*** BOX ARGOMENTI e ALTRI ARGOMENTI HOME ***/
.argomenti {
    margin-bottom: 20px
}

    .argomenti a.badge-argomenti,
    .argomenti span.badge-argomenti {
        color: #003882;
        background: white;
        padding: 5px 10px;
        border: 1px solid #003882;
        margin-right: 8px;
        margin-bottom: 12px;
        font-size: .889em;
        font-weight: 600
    }

        .argomenti a.badge-argomenti:hover,
        .argomenti span.badge-argomenti :hover {
            background-color: #003882;
            color: #fff;
            text-decoration: none
        }

.altri-argomenti {
    margin-top: 48px
}

    .altri-argomenti .altri-argomenti-titolo {
        float: left
    }

        .altri-argomenti .altri-argomenti-titolo h4 {
            display: inline-block;
            color: #555;
            letter-spacing: 1px;
            font-size: .778em;
            text-transform: uppercase;
            font-weight: 700
        }

    .altri-argomenti .altri-argomenti-elenco {
        margin-left: 144px
    }

        .altri-argomenti .altri-argomenti-elenco a.badge-argomenti {
            font-weight: 700
        }

    .altri-argomenti .altri-argomenti-tutti {
        text-align: center
    }

.link-list-wrapper ul li a.list-item.active {
    color: #B83F39;
    padding: .5em 0;
    line-height: unset;
    font-size: 1em;
    text-decoration: none;
}

    .link-list-wrapper ul li a.list-item.active span {
        color: #B83F39;
        margin-right: 0.3rem;
        text-decoration: none;
        border-bottom: 1px solid #414BB1;
    }

        .link-list-wrapper ul li a.list-item.active span.fa {
            text-decoration: none;
            border: none;
        }

.card.card-teaser .card-body p.card-text {
    padding: 1rem 0;
    font-size: 1em;
}

/*.card .card-body .card-text {
    color: white;
}*/

.card-body a.read-more {
    color: #A30000 !important;
    text-transform: none;
    font-weight: normal;
    letter-spacing: initial;
    text-decoration: none;
    border-bottom: 1px solid #A30000 ;
}


/*** menu altri argomenti ***/

.section-background-header.py-5 .chip.chip-simple {
    margin-right: 0;
}

@media (max-width: 767px) {

    .section-background-header.py-5 H6 {
        display: block;
        width: 100%;
    }

    .section-background-header.py-5 .chip.chip-simple {
        margin-right: auto;
    }

}

.section.menu-altri-argomenti {
    padding-top: 0;
    padding-bottom: 3rem;
}

.menu-altri-argomenti .chip.chip-simple.chip-primary {
    border: none;
    border-bottom: 1px solid #B83F39;
    border-radius: unset;
    padding: 0 0 .3rem 0;
    margin: 0 .5rem .5rem;
    min-width: unset;
    color: #B83F39;
}

    .menu-altri-argomenti .chip.chip-simple.chip-primary:hover {
        background-color: #B83F39;
        color: white;
        border-color: #B83F39;
    }

        .menu-altri-argomenti .chip.chip-simple.chip-primary:hover a {
            color: white;
            background-color: #B83F39;
        }

    .menu-altri-argomenti .chip.chip-simple.chip-primary > .chip-label {
        color: #B83F39;
    }

        .menu-altri-argomenti .chip.chip-simple.chip-primary > .chip-label:hover {
            color: white;
        }

/*** ISCRIZIONE NEWSLETTER HOME ***/
#box-newsletter input[type=text] {
    border: 1px solid #D2D2D2;
}

#box-newsletter .separatoreCampoNewsletter,
#box-newsletter .separatoreCampoNewsletter div {
}

    #box-newsletter .separatoreCampoNewsletter .recaptcha > div {
        margin: 0 auto;
    }

    #box-newsletter .separatoreCampoNewsletter button {
        margin-top: 3rem;
    }

/*** ORARI E CONTATTI HOME ***/
.container.scheda-ufficio-contatti {
    -webkit-box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.1);
    -moz-box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.1);
    box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.1);
    border: 0;
    font-size: 1em;
    padding: 16px 24px;
    display: table;
    width: 100%;
    background: #fff;
    margin: 3rem auto;
    /*    font-family: "Titillium Web",Geneva,Tahoma,sans-serif*/
}

/*** FOOTER ***/

    #footer a {
        text-decoration: none;
    }

    #footer section {
        margin-bottom: 28px
    }

        #footer section .intestazione {
            margin-bottom: 28px
        }

    #footer .logoimg {
        display: inline-block;
        vertical-align: middle;
    }

    #footer .logotxt {
        vertical-align: middle;
        text-align: left;
        margin-left: 15px;
        display: none;
    }

        #footer .logotxt h3 {
            display: table-cell;
            vertical-align: bottom;
            margin: 0;
            font-weight: 700;
            font-size: 1.778em;
        }

            #footer .logotxt h3 a:hover {
                text-decoration: none
            }

    #footer .logoimg img {
        height: 48px;
        max-height: 48px
    }

    #footer h4 {
        color: #FFF;
        font-size: .778em;
        font-weight: 700;
        margin: 0;
        padding: 0 0 16px 0;
        border-bottom: 1px solid #796c31;
        line-height: 1em;
        text-transform: uppercase;
        vertical-align: middle
    }

        #footer h4 a {
            vertical-align: middle
        }

    #footer p {
        margin: 16px 0;
        padding-right: 2em;
    }

    #footer #formid_fondo2 p a {
        color: #3B66BE;
        text-decoration: underline;
    }

        #footer #formid_fondo2 p a:hover {
            text-decoration: none;
        }

    #footer .footer-list {
        list-style-type: none;
        margin: 15px 0;
        padding: 0;
    }

    #footer #formid_fondo3 .footer-list .area {
        display: inline-block;
        padding: .5rem 1rem;
    }

    #footer .footer-list .li {
        margin: 0
    }

        #footer .footer-list .li a {
            padding: 4px 0;
            display: block;
        }

    #footer div#boxMenuCentro {
        /*border-bottom: 2px solid black;*/
        padding-bottom: 2em;
    }

    #footer .lista-linkutili .footer-list {
        font-size: .889em
    }

    #footer a:focus {
        outline: 1px solid #ff8c00 !important
    }

    #footer section:last-of-type {
        margin-bottom: 0
    }


/*#footer form {
    margin: 16px 0;
    font-size: .889em
}

    #footer form label {
        color: #fff
    }

    #footer form input {
        border-radius: 4px;
        margin-bottom: 16px
    }

        #footer form input::placeholder {
            color: #555;
            opacity: 1;
            font-weight: normal
        }

        #footer form input:-ms-input-placeholder {
            color: #555;
            font-weight: normal
        }

        #footer form input::-ms-input-placeholder {
            color: #555;
            font-weight: normal
        }

    #footer form .btn-iscriviti, .btn-iscriviti {
        color: #fff !important;
        padding: 12px 60px;
        background: #4e7e5b;
        font-family: "Titillium Web",Geneva,Tahoma,sans-serif
    }

        #footer form .btn-iscriviti:hover, .btn-iscriviti:hover {
            background: #395c42;
            color: #fff
        }*/

    #footer .footer-list.area_22106 {
        margin: 31px 0 15px;
    }

        #footer .footer-list.area_22106 .area.area_22106 {
            display: none;
        }

        #footer .footer-list.area_22106 .categoria.li a {
            font-size: 1.714em;
            font-weight: 600;
        }



@media (max-width:576px) {
    #mainheader #formid_intestazione1 .entesup {
        margin: 0
    }

    #mainheader #formid_intestazione1 .accedi .btn-accedi {
        padding: 0 4px
    }

    #mainheader .container {
        max-width: 280px;
    }

    #mainheader .comune .logotxt .h1 {
        font-size: 1.3rem;
    }

    .onscroll #mainheader .logotxt {
        width: 140px !important
    }

    #mainheader .comune .logotxt .badge-demo {
        position: absolute;
        margin-left: 4px;
        margin-top: 4px;
        vertical-align: initial
    }

        #mainheader .comune .logotxt .badge-demo b {
            display: none
        }

    #mainheader .p_cercaMobile {
        position: absolute;
        right: -55px;
        top: -60px;
    }

    #boxTotale.menu-open {
        margin-left: 300px;
        margin-right: -300px;
    }

    #menuEcm.menu-close {
        left: -300px;
    }

    #menuEcm {
        width: 300px;
    }

    #overlay {
        left: 300px;
    }

    .cbp-spmenu .logotxt-burger {
        width: 175px !important;
    }

    .onscroll #mainheader .p_cercaMobile {
        padding-top: 16px
    }

    .onscroll #mainheader .btn-cerca {
        margin-left: 0
    }


    #mainheader .comune .logotxt h1 {
        font-size: 1.250em;
        vertical-align: bottom
    }

    #mainheader .navbar-toggle.menu-active .icon-bar1 {
        top: 8px
    }

    #mainheader .navbar-toggle.menu-active .icon-bar3 {
        top: -8px
    }

    /*#mainheader .p_cercaMobile {
        padding-right: 4px
    }

    .modal-header-fullsrc .pb12 {
        padding: 0 !important
    }

    .modal-header-fullsrc h1 {
        margin-left: 40px
    }

    #searchModal .modal-body-search .search-start {
        margin-top: 24px
    }

    #searchModal #cerca-txt {
        padding-left: 32px
    }

    md-autocomplete .md-show-clear-button button md-icon {
        width: 24px;
        height: 24px
    }*/
}

@media (min-width:577px) and (max-width: 991px) {
    #mainheader .comune .logotxt .h1 {
        font-size: 2rem;
    }
}

@media (max-width:767px) {

    #formid_intestazione2 {
        padding-bottom: 1rem;
    }

    body.onscroll {
        padding-top: 0
    }

    .container {
        padding-left: 24px !important;
        padding-right: 24px !important
    }

    .hidden-xs {
        display: none !important
    }

    html {
        overflow-x: hidden
    }

    body {
            font-size: 0.95rem;
        line-height: 1.2
    }

        body.home #mainheader {
            height: 136px
        }

    #mainheader #formid_intestazione1 .entesup {
        font-size: .875em;
        font-weight: bold;
        text-align: left;
        text-indent: 0 !important
    }

    #mainheader #formid_intestazione1 .accedi {
        border-left: 2px solid #003882;
        margin: 0;
        padding: 0 0 0 16px
    }

        #mainheader #formid_intestazione1 .accedi .btn-accedi {
            padding: 0 8px
        }

        #mainheader #formid_intestazione1 .accedi span {
            display: none
        }

        #mainheader #formid_intestazione1 .accedi .dropdown-menu:before {
            display: none
        }

    #mainheader .cerca {
        vertical-align: middle;
        height: 48px;
        text-align: left;
        margin-left: 15px;
        display: inline-block;
    }

    #mainheader .menu-btn {
        display: block !important;
        float: left;
        padding: 0;
        border: 0 none;
    }

    .onscroll #mainheader .menu-btn {
        margin-top: 16px
    }

    #mainheader .menu-btn .icon-bar {
        position: relative;
        z-index: 171;
        width: 24px;
        height: 4px;
        background-color: white!important;
        display: block;
        border-radius: 0
    }

        #mainheader .menu-btn .icon-bar + .icon-bar {
            margin-top: 4px
        }

    #mainheader .menu-btn .icon-bar1,
    #mainheader .menu-btn .icon-bar3 {
        width: 16px
    }

    #mainheader .navbar-toggle.menu-active .icon-bar1,
    #mainheader .navbar-toggle.menu-active .icon-bar3 {
        width: 24px
    }

    .cbp-spmenu-vertical {
        width: 300px
    }

    .cbp-spmenu-left {
        left: -300px
    }

    .cbp-spmenu-right {
        right: -300px
    }

    #footer .logotxt {
        min-width: 150px;
    }

        #footer .logotxt h3 {
            font-size: 1.375em;
            vertical-align: bottom
        }

    #footer section {
        margin-bottom: 0
    }

        #footer section .intestazione {
            margin-bottom: 8px
        }

    #box-newsletter .separatoreCampoNewsletter button {
        margin-top: 0;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .container {
        max-width: 720px;
        padding: 0
    }

    /*    .nav-item.megamenu {
        position: static
    }*/

    .nav-item.megamenu > a.dropdown-toggle {
        position: relative
    }

    #sub_nav .sub_nav .dropdown-menu {
        width: 720px;
        transform: translate3d(14px,32px,0px) !important;
        padding: 24px
    }

    /*    #footer h4 svg.icon {
        margin-right: 2px
    }

    .modal-backdrop.show {
        opacity: 0 !important
    }*/

    .list_link-utili {
        margin: 0 0 0 0;
    }
}

@media (min-width:768px) {
    /*.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-right: 14px !important;
        padding-left: 14px !important
    }*/

    .row {
        margin-right: -14px;
        margin-left: -14px
    }

    #overlay {
        display: none;
    }

    #boxTotale.menu-open {
        margin-left: 0;
        margin-right: 0;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-caption {
        left: 2%;
        right: 55%;
        padding-bottom: 30px;
        z-index: 1;
    }

    .onscroll #mainheader .comune .logotxt {
        display: none;
    }
}

@media screen and (max-width: 830px) {
    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-caption {
        left: 12%;
        right: 12%;
        padding-bottom: 30px;
        z-index: 1;
    }
}

@media(max-width:991px) {
    #mainheader .entesup a {
        display: inline-block;
        vertical-align: middle
    }

    .sub_nav {
        display: block;
        padding: 0;
        margin: 0
    }

        .sub_nav li {
            font-size: 1em;
            line-height: 20px
        }

            .sub_nav li a {
                padding: 13px 12px
            }
    /*
            .sub_nav li.megamenu a {
                padding: 13px 6px
            }*/

    .list_link-utili li a {
        padding: .785rem .4rem;
    }

    .dropdown {
        padding: .4rem 0;
        vertical-align: bottom;
    }

        .dropdown .btn {
            padding-left: .4rem;
            padding-right: .4rem;
        }

    .cbp-spmenu-vertical {
        width: 300px
    }

    .cbp-spmenu-left {
        left: -300px
    }

    .cbp-spmenu-right {
        right: -300px
    }

    .push-body-toright .push_container {
        left: 300px
    }
}

@media(min-width:992px) {
    .hidden-md {
        display: none !important
    }

    /*    .socialmobile {
        display: none !important
    }

    .modal-backdrop.show {
        opacity: 0 !important
    }*/
}

@media (min-width:992px) and (max-width:1999px) {
    .container {
        max-width: 960px;
        padding: 0
    }

    .sub_nav li a {
        padding: 13px 12px
    }

    /*    .sub_nav li.megamenu a {
        padding: 13px 6px
    }*/

    #sub_nav .sub_nav .dropdown-menu {
        width: 960px
    }

    #sub_nav .sub_nav .menu-visite .dropdown-menu {
        width: 1184px;
    }

    .list_link-utili li a {
        padding: 13px 8px
    }

    /*    #mainheader .social li {
        margin: 0
    }*/
}

@media (min-width:1200px) {
    .container {
        max-width: 1184px !important;
        padding: 0
    }

    .hidden-lg, .hidden-md {
        display: none !important
    }
}

@media (min-width:1400px)
{
    body.onscroll #mainheader .logo-nome-ente {
        position: fixed;
        left: 2rem;
        width: 3rem;
    }

    body.onscroll #mainheader .cerca {
        position: fixed;
        right: 2rem;
    }
}

@media print {

    #cookie-bar {
        display: none !important;
    }
    
    }
