.logoprint {
    display: none
}

.hidden {
    display: none
}

.bg-blu {
    background-color: #A90000 !important; /* #840000 */
    color: #fff !important
}

.bg-bluscuro {
    background-color: #7B0000 !important; /* 003274 */
    color: #fff !important
}

.bg-grigio {
    background-color: #eceff1 !important
}

.bg-oro {
    background-color: #9c8c3e !important
}

.bg-verde {
    background-color: #51825f !important
}

.verde {
    color: #4e7e5b !important
}

.oro {
    color: #796c31 !important
}

.btn-verde:hover {
    background-color: #395c42 !important
}

.bg-azzurro {
    background-color: #0968b4 !important
}

.bg-grigiomedio {
    background-color: #757575 !important
}

.bg-rosa {
    background-color: #e5007b !important
}

.bg-rosso {
    background-color: #db001b !important
}

.bg-petrolio {
    background-color: #455a64 !important
}

.mt16 {
    margin-top: 16px !important
}

.mb16 {
    margin-bottom: 16px
}

.ml16 {
    margin-left: 16px !important
}

.mr16 {
    margin-right: 16px !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
}

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

a {
    color: #840000
}

@media (min-width: 1200px) {
    .container {
        max-width: 1184px !important;
        padding: 0
    }
}

@media (min-width: 992px) and (max-width: 1999px) {
    .container {
        max-width: 100%;
        padding: 0;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 1088) and (max-width: 1224) {
    .container {
        max-width: 960px;
        padding: 0;
        margin-right: 1%;
        margin-left: 1%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0
    }
}

@media (min-width: 767px) {
    .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
    }
}

body {
    color: #555;
    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-family: "Titillium Web",Geneva,Tahoma,sans-serif;
}

body .menu-underlayer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 100%;
    visibility: hidden;
    background-color: rgba(0, 56, 130, 1);
    opacity: 1;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

body.menu-opened, body.menu-opened2 {
    position: fixed;
    width: 100%
}

body.menu-opened .menu-underlayer, body.menu-opened2 .menu-underlayer {
    display: block;
    visibility: visible
}

body.ridotto {
    padding-top: 100px !important
}

#mainheader {
    height: 224px;
    color: #fff;
    position: relative;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

#mainheader .preheader {
    height: 40px;
    padding: 0;
    margin: 0;
    font-weight: bold;
    line-height: 40px;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

#mainheader .logoimg {
    display: inline-block
}

#mainheader .preheader .entesup {
    font-size: 16px;
    color: #fff
}

#mainheader .preheader .entesup a {
    color: #fff
}

#mainheader .preheader .entesup .logotxt a {
    color: #fff
}

#mainheader .preheader .sitiverticali {
    margin: 0;
    border: 0;
    text-align: center;
    height: 40px;
    padding: 0
}

#mainheader .preheader .sitiverticali a {
    height: 40px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
    /*border-right: 2px solid #840000;*/
    padding: 0 24px
}

#mainheader .preheader .sitiverticali a:hover {
    color: #ffffff;
    text-decoration: underline
}

#mainheader .preheader .accedi {
    margin: 0 0 0 24px;
    border: 0;
    text-align: center;
    height: 40px;
    padding: 0
}

#mainheader .preheader .accedi .btn-accedi {
    height: 40px;
    padding: 0;
    background: 0;
    color: #fff;
    margin: 0;
    font-weight: 600
}

#mainheader .preheader .accedi .btn-accedi:hover span {
    color: #ffffff;
    text-decoration: underline
}

#mainheader .preheader .accedi .btn-accedi svg.icon {
    vertical-align: top;
    margin: 0;
    fill: #fff;
    width: 24px;
    height: 24px
}

#mainheader .preheader .accedi .btn-accedi:hover svg.icon {
    fill: #ffffff;
}

#mainheader .preheader .accedi span {
    margin: 0 0 0 8px
}

#mainheader .comune .logoimg {
    margin-top: 10px
}

#mainheader .comune .logoimg img {
    height: 110px;
    max-height: 110px
}

#mainheader .comune .logoimg a:focus {
    outline: 0 transparent !important
}

#mainheader .comune .logotxt {
    /*vertical-align: top;*/
    height: 48px;
    text-align: left;
    margin-left: 15px;
    display: inline-block
}

#mainheader .comune .logotxt h1 {
    display: table-cell;
    height: 48px;
    vertical-align: bottom;
    margin: 0;
    /*font-size: 1.778em;*/
    letter-spacing: 0
}

#mainheader .comune .logotxt h1 a, #mainheader .comune .logotxt h1 a:hover {
    color: #fff;
    text-decoration: none
}

#mainheader .comune .logotxt h1 a:focus, #mainheader .comune .logotxt h1 a:hover:focus {
    text-decoration: underline;
    outline: 0 transparent !important
}

#mainheader .social {
    padding-top: 12px;
    margin-bottom: 0;
    display: inline-block;
    height: 48px;
    margin-top: 35px
}

#mainheader .social .small {
    padding-right: 15px;
    font-size: 14px;
    font-weight: 300
}

#mainheader .social a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0;
    font-size: 1.111em;
    line-height: 24px;
    color: #fff !important;
    text-align: center
}

#mainheader .social a:hover {
    color: #000000 !important;
    text-decoration: none
}

#mainheader .social a svg.icon {
    fill: #fff;
    width: 26px;
    height: 26px
}

#mainheader .social a:hover svg.icon {
    fill: #ffffff
}

#mainheader .social li {
    padding: 0;
    vertical-align: middle;
    margin-right: 15px
}

#mainheader .social li:last-child {
    margin-right: 5px;
}

#mainheader .button{
    font-size: xx-large;
}

#mainheader .cerca {
    margin-top: 40px;
    padding-top: 5px
}

#mainheader .cerca span {
    color: #fff;
    font-size: 14px
}

#mainheader .btn-cerca {
    height: 44px;
    width: 44px;
    border: 0;
    color: #fff;
    padding: 0;
    /*background: #fff;*/
    margin-left: 24px;
    font-size: x-large;
    box-shadow: 0 0 0 0.2rem #fff;
}

#mainheader .btn-cerca svg.icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    fill: #A90000;
}

#mainheader .btn-cerca:hover {
    background: #ffffff;
    color: #a90001;
}

#mainheader .p_cercaMobile {
    display: none
}

#mainheader #sub_nav {
    right: 0;
    bottom: 0;
    left: 0;
    height: 48px;
    background: #A90000; /* #840000 */
    color: #fff
}

#mainheader .menu-btn {
    display: none
}

#mainheader .menu-btn:focus, #mainheader .menu-btn:hover:focus {
    outline: 3px solid #796c31 !important;
    outline-offset: 6px
}

#mainheader.ridotto {
    height: 130px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1071;
    margin-top: -120px;
    margin-bottom: 120px
}

#mainheader.ridotto #sub_nav {
    height: 0;
    overflow: hidden
}

#mainheader.ridotto .social {
    padding: 0;
    margin: 24px 0 0 0
}

#mainheader.ridotto .comune .logoimg {
    margin-top: 15px
}

#mainheader.ridotto .comune .logoimg img {
    height: 72px
}

#mainheader.ridotto .comune .logotxt {
    vertical-align: top;
    margin-top: 0;
    height: 48px;
    max-height: 48px
}

#mainheader.ridotto .comune .logotxt h1 {
    height: 48px;
    max-height: 48px;
    vertical-align: middle
}

#mainheader.ridotto .cerca {
    margin-top: 18px;
    padding-top: 0
}

.sub_nav, .list_link-utili {
    display: block;
    padding: 0;
    margin: 0
}

.sub_nav:after, .list_link-utili:after {
    content: '';
    display: inline-block;
    width: 100%
}

.sub_nav:before, .list_link-utili:before {
    content: '';
    display: block
}

.sub_nav li, .list_link-utili li {
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 1em;
    font-weight: 700;
    line-height: 20px;
    position: relative
}

.list_link-utili .bar-content-edit {
    display: none
}

.sub_nav li a, .list_link-utili li a {
    padding: 12px 29px 12px 29px;
    color: #fff;
    display: block
}

.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: #ffffff;
    text-decoration: underline
}

.sub_nav li.active a, .list_link-utili li.active a {
    border-bottom: 4px solid #fff !important
}

.list_link-utili li {
    font-weight: 300;
    font-size: .889em
}

.list_link-utili li a {
    padding: 12px 25px
}

.list_link-utili li:last-child a {
    font-weight: 700;
    padding-right: 0
}

.sub_nav li.megamenu a {
    padding: 12px 22px 12px 22px
}

.sub_nav li.megamenu:first-child a {
    padding-left: 0
}

#sub_nav .sub_nav .megamenu a[data-toggle=dropdown] svg.icon {
    float: right;
    fill: #fff;
    width: 22px;
    height: 22px
}

#sub_nav .sub_nav .megamenu a[data-toggle=dropdown][aria-expanded=true] svg.icon {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1)
}

#sub_nav .sub_nav .dropdown-menu {
    margin: 0;
    padding: 48px;
    width: 1184px;
    transform: translate3d(14px, 32px, 0px) !important;
    -webkit-box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.1)
}

#sub_nav .sub_nav .dropdown-menu:before {
    display: none
}

#sub_nav .sub_nav .nav-item.megamenu > a.dropdown-toggle:before {
    opacity: 0;
    bottom: -16px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    content: '';
    position: absolute;
    top: auto;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background-color: #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    display: block;
    -webkit-transition: opacity .8s cubic-bezier(.1, .57, .36, .99);
    transition: opacity .8s cubic-bezier(.1, .57, .36, .99)
}

#sub_nav .sub_nav .nav-item.megamenu:first-child > a.dropdown-toggle:before {
    left: -29px
}

#sub_nav .sub_nav .nav-item.megamenu.show > a.dropdown-toggle:before {
    opacity: 1
}

#sub_nav .navmegamenu {
    border-top: 1px solid #d8d8d8;
    padding: 0
}

#sub_nav .navmegamenu li {
    border-bottom: 1px solid #d8d8d8;
    display: block
}

#sub_nav .navmegamenu li a {
    font-size: 1em;
    color: #840000;
    font-weight: normal;
    padding: 12px 24px
}

#sub_nav .navmegamenu li a:hover {
    background-color: rgba(116, 166, 129, 0.1)
}

#sub_nav .scheda-megamenu .scheda-foto {
    position: relative;
    height: 192px;
    overflow: hidden;
    border-radius: 4px
}

#sub_nav .scheda-megamenu .scheda-foto figure {
    margin: 0
}

#sub_nav .scheda-megamenu .scheda-foto a {
    padding: 0
}

#sub_nav .scheda-megamenu .scheda-foto img {
    width: 100%;
    height: 192px;
    object-fit: cover
}

#sub_nav .scheda-megamenu .scheda-icona-small {
    color: #840000;
    letter-spacing: 1px;
    font-size: .778em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0;
    margin-bottom: 16px
}

#sub_nav .scheda-megamenu .scheda-icona-small svg.icon {
    width: 22px;
    height: 22px;
    margin-right: 4px;
    vertical-align: bottom;
    fill: #840000
}

#sub_nav .scheda-megamenu .scheda-testo h4 {
    font-size: 1.111em;
    font-weight: 700;
    color: #840000
}

#sub_nav .scheda-megamenu .scheda-testo h4 a {
    color: #840000;
    padding: 0
}

#sub_nav .scheda-megamenu .scheda-testo p {
    color: #555;
    font-size: .889em;
    font-weight: normal
}

#sub_nav .scheda-megamenu .scheda-footer {
    margin-top: 16px
}

#sub_nav .linksezione .tutte {
    color: #4e7e5b;
    font-size: .778em;
    text-transform: uppercase;
    vertical-align: middle;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 0
}

#sub_nav .linksezione .tutte svg.icon {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    fill: #4e7e5b
}

#sub_nav .linksezione .tutte:hover {
    color: #840000;
    text-decoration: underline
}

#sub_nav .linksezione .tutte:hover svg.icon {
    fill: #840000
}

#sub_nav .owl-megamenu {
    max-height: 300px;
    margin-bottom: 40px
}

#sub_nav #owl-megamenu-ser .owl-stage, #sub_nav #owl-megamenu-doc .owl-stage {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

#sub_nav #owl-megamenu-ser .owl-item .item, #sub_nav #owl-megamenu-doc .owl-item .item {
    height: 100%
}

#sub_nav #owl-megamenu-ser .owl-item .scheda-megamenu, #sub_nav #owl-megamenu-doc .owl-item .scheda-megamenu {
    padding-right: 24px;
    padding-left: 24px;
    height: 100%
}

#sub_nav #owl-megamenu-ser .owl-item.active .scheda-megamenu, #sub_nav #owl-megamenu-doc .owl-item.active .scheda-megamenu {
    border-left: 1px solid #d8d8d8
}

#sub_nav #owl-megamenu-ser .owl-item:first-child .scheda-megamenu, #sub_nav #owl-megamenu-doc .owl-item:first-child .scheda-megamenu {
    padding-left: 0
}

#sub_nav #owl-megamenu-ser .owl-item:first-child .scheda-megamenu, #sub_nav #owl-megamenu-doc .owl-item:first-child .scheda-megamenu {
    padding-left: 0;
    border: 0 !important
}

#sub_nav .owl-megamenu .owl-dots .owl-dot span {
    background: #4e7e5b;
    opacity: .1;
    width: 8px;
    height: 8px;
    margin: 5px
}

#sub_nav .owl-megamenu .owl-dots .owl-dot.active span {
    opacity: 1
}

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

.push-body-toright #mainheader .entesup, .push-body-toright #mainheader .areariservata, .push-body-toright #mainheader .comune, .push-body-toright #mainheader .pull-right, .push-body-toright .sub_nav, .push-body-toright .scrollto_top, .push-body-toright footer, .push-body-toright #main_container {
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0
}

.push-body-toright .body_wrapper {
    background: #840000 !important
}

.push-body-toright .body_wrapper .preheader {
    background: #840000 !important
}

.push-body-toright .body_wrapper #mainheader {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

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

.cbp-spmenu .logo-burger {
    margin: 60px 0 25px 25px
}

.cbp-spmenu .logo-burger .logoimg-burger {
    display: inline-block
}

.cbp-spmenu .logo-burger .logoimg-burger img {
    height: 62px;
    max-height: 62px
}

.cbp-spmenu .logo-burger .logotxt-burger {
    vertical-align: middle;
    height: 48px;
    text-align: left;
    margin: 0 0 0 5px;
    display: inline-block;
    width: 120px !important
}

.cbp-spmenu .logo-burger .logotxt-burger a {
    font-size: 1.375em;
    vertical-align: bottom;
    display: table-cell;
    height: 48px;
    font-weight: bold;
    color: #840000
}

.cbp-spmenu .logo-burger .logotxt-burger a:hover {
    text-decoration: none
}

.navmenu a, .navmenu li > a:hover > span {
    color: #259
}

.navmenu li a.current {
    font-weight: 700
}

.navmenu li a.current span {
    color: #fff !important
}

.navmenu, .navmenu li, .navmenu ul {
    padding: 0;
    list-style: none
}

.navmenu ul, .navmenu li.active ul li ul {
    display: none;
    padding: 0
}

.navmenu a, .navmenu li.active ul, .navmenu li.active ul li.active ul {
    display: block
}

ul.navmenu {
    padding: 25px 0 25px 0
}

.navmenu {
    margin: 0
}

.navmenu > li {
    border: 0;
    width: 100%
}

.navmenu > li li {
    border: 0
}

.navmenu a {
    outline: 0;
    text-decoration: none
}

.navmenu [tabindex="0"]:focus, .navmenu li a:focus {

}

.navmenu li > a > span {
    font-size: 20px;
    text-align: center;
    margin-left:   15px !important;
    background: url("arrowdown.svg");
}

.navmenu li > a > span:after {
    line-height: 1;
    content: '\e818';
    color: #840000
}

.navmenu li a.current span:after {
    color: #840000
}

.navmenu li.open > a > span:after {
    line-height: 1;
    content: '\e810'
}

.navmenu > li.open ul {
    background: transparent
}

.navmenu > li.open ul li a {
    color: #840000
}

.navmenu li li a {
    font-size: 1em
}

.navmenu > li.open ul li a:hover, .navmenu > li.open ul > li.open > a {
    background: transparent;
    color: #ffffff
}

.navmenu li a {
    font-size: 1.333em;
    font-weight: 700;
    color: #840000;
    line-height: 26px;
    padding: 13px 0;
    border-left: 4px solid transparent;
    padding-left: 25px
}

.navmenu li:first-child {
    display: none
}

.navmenu li ul li:first-child {
    display: block
}

.navmenu > li > a:hover, .navmenu > li > a:focus, .navmenu li > a:hover > span:after {
    background-color: rgba(116, 166, 129, 0.1);

}

.navmenu > li.open > a {
    background-color: rgba(116, 166, 129, 0.1);
    border-left: 4px solid #4e7e5b
}

.utilitymobile {
    margin: 10px 25px;
    padding: 0
}

.utilitymobile li {
    padding: 7px 0
}

.utilitymobile li a {
    color: #840000
}

.utilitymobile li a:hover {
    color: #ffffff;
    text-decoration: none
}

.utilitymobile li:last-child a {
    font-weight: bold
}

.socialmobile {
    margin: 40px 25px 25px 25px
}

.socialmobile .small {
    padding-right: 8px;
    font-size: 14px;
    color: #840000
}

.socialmobile a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0;
    font-size: 1.111em;
    line-height: 24px;
    color: #840000 !important;
    text-align: center
}

.socialmobile a:hover {
    color: #ffffff !important;
    text-decoration: none
}

.socialmobile a svg.icon {
    fill: #840000;
    width: 22px;
    height: 22px
}

.socialmobile a:hover svg.icon {
    fill: #ffffff
}

.socialmobile li {
    padding: 0;
    vertical-align: middle;
    margin-right: 4px;
    display: inline-block
}

.socialmobile li:first-child {
    padding-left: 0
}

#searchModal {
    z-index: 1100;
    padding: 0 !important
}

#spidModal {
    z-index: 1200;
    padding: 0 !important
}

#searchModal .modal-dialog, #spidModal .modal-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 100%
}

#searchModal .modal-dialog .modal-content, #spidModal .modal-dialog .modal-content {
    height: 100%;
    overflow-y: auto
}

.modal-header-fullsrc {
    margin-top: 40px;
    margin-bottom: 40px
}

.modal-header-fullsrc h1 {
    font-size: 2.667em;
    color: #840000;
    font-weight: bold;
    letter-spacing: 0
}

.center-v {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.modal-header-fullsrc .close, .modal-header-fullsrc .back {
    color: #840000;
    opacity: 1;
    font-size: 1.111em;
    text-shadow: none;
    line-height: 0;
    float: left;
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    margin-top: 24px
}

.modal-header-fullsrc .close svg.icon, .modal-header-fullsrc .back svg.icon {
    width: 32px;
    height: 32px;
    fill: #840000
}

#spidModal .modal-header-fullsrc .back {
    margin-top: 16px
}

#spidModal .modal-header-fullsrc .close {
    position: absolute;
    top: 16px;
    right: 0
}

.modal-header-fullsrc .close:hover, .modal-header-fullsrc .close:focus, .modal-header-fullsrc .back:hover, .modal-header-fullsrc .back:focus, .modal-header-fullsrc .close:not(:disabled):not(.disabled):focus, .modal-header-fullsrc .close:not(:disabled):not(.disabled):hover {
    color: #840000;
    opacity: 1
}

#searchModal .modal-body-search {
    margin-bottom: 56px
}

#searchModal .search-filter-dategroup .form-group label {
    padding: 0;
    font-size: 1em;
    font-weight: 300;
    top: -12px
}

#searchModal #cerca-txt, #searchModal .search-filter-dategroup .form-group input {
    font-weight: 300;
    color: #9b9b9b;
    height: 56px;
    border: 0;
    border-radius: 4px;
    background-color: #f2f2f2;
    padding: 16px 24px;
    font-size: .889em
}

#searchModal input::placeholder, #searchModal input:-ms-input-placeholder, #searchModal input::-ms-input-placeholder {
    color: #9b9b9b;
    font-size: .889em;
    line-height: 21px
}

#searchModal .box-servizi i {
    color: #d1cfcf;
    width: 21px;
    height: 21px;
    margin: 13px
}

#searchModal .form-group {
    padding: 0
}

#searchModal .form-group .ico-sufix {
    position: absolute;
    width: 56px;
    text-align: center;
    right: 0;
    top: 0;
    bottom: 0;
    vertical-align: middle;
    background-color: #4e7e5b;
    color: #fff;
    border-radius: 0 4px 4px 0;
    border: 0;
    padding: 0;
    cursor: pointer
}

#searchModal #opzioniTab .form-check.form-check-group {
    -webkit-box-shadow: none;
    box-shadow: none
}

#searchModal #opzioniTab .search-filter-dategroup .form-group input {
    height: 40px
}

#searchModal #opzioniTab .form-group .ico-sufix {
    width: 40px
}

#searchModal .form-group .ico-sufix svg.icon {
    width: 26px;
    height: 26px;
    fill: #fff
}

#searchModal #searchclear {
    position: absolute;
    top: 12px;
    background: transparent;
    right: 64px;
    -webkit-appearance: none;
    border: 0;
    color: #840000;
    padding: 0;
    line-height: 0;
    outline: 0
}

#searchModal #searchclear svg.icon {
    width: 32px;
    height: 32px;
    fill: #840000
}

#searchModal .modal-body-search h2 {
    font-size: .889em;
    color: #796c31;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0
}

#searchModal .modal-body-search .form-filtro {
    margin-top: 32px;
    margin-bottom: 64px
}

.form-filtro .btn-trasparente {
    margin: 0 8px 8px 0
}

.form-filtro .btn-trasparente:hover, .form-filtro .btn-trasparente.active {
    background-color: #eaf2ec;
    color: #555 !important;
    border: 1px solid #eaf2ec
}

.form-filtro .btn-trasparente:hover svg.icon, .form-filtro .btn-trasparente.active svg.icon {
    fill: #555 !important
}

#searchModal .modal-body-search .form-filtro .btn-trasparente:first-of-type {
    margin-left: 0
}

#searchModal .modal-body-search .btn-badge:hover, #searchModal .modal-body-search .btn-badge.active {
    color: #555
}

#searchModal .modal-body-search .badge-argomenti {
    color: #840000;
    border: 1px solid #840000;
    margin-right: 8px;
    margin-bottom: 12px;
    font-size: .889em;
    font-weight: 600;
    line-height: 1.2
}

#searchModal .modal-body-search .badge-argomenti:hover, #searchModal .modal-body-search .badge-argomenti.active {
    background-color: #eaf2ec;
    color: #555;
    text-decoration: none;
    border: 1px solid #eaf2ec
}

#searchModal .modal-body-search .badge-argomenti.puntini {
    padding-left: 12px;
    padding-right: 12px
}

#searchModal .modal-body-search .form-blockopz {
    margin-bottom: 32px
}

#searchModal .modal-body-search .form-blockopz:last-child {
    margin-bottom: 0
}

#searchModal .modal-body-search .form-blockopz ul {
    list-style-type: none;
    padding: 0
}

#searchModal .modal-body-search .form-blockopz ul li {
    margin: 12px 0
}

#searchModal .modal-body-search .form-blockopz ul li a {
    color: #840000;
    vertical-align: middle;
    line-height: 1;
    font-size: 1.111em
}

#searchModal .modal-body-search .form-blockopz ul li a svg.icon {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    fill: #840000
}

.modal-header-fullsrc .confirm {
    /*position: absolute;*/
    top: 24px;
    right: 0;
    font-size: .778em;
}

.modal-header-fullsrc .search-filter-type {
    max-width: 1184px !important;
    margin: 0 auto;
    margin-top: 24px
}

@media (min-width: 1200px) {
    .modal-header-fullsrc .search-filter-type {
        max-width: 1140px
    }
}

@media (min-width: 992px) {
    .modal-header-fullsrc .search-filter-type {
        max-width: 960px
    }
}

@media (min-width: 768px) {
    .modal-header-fullsrc .search-filter-type {
        max-width: 720px
    }
}

.modal-header-fullsrc .nav-tabs {
    overflow-x: hidden
}

.modal-header-fullsrc .nav-tabs li {
    width: 33.333%;
    text-align: center
}

.modal-header-fullsrc .nav-tabs li a {
    color: #840000;
    font-size: 1.111em;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    border-bottom: 2px solid transparent;
    padding: 16px 0
}

.modal-header-fullsrc .nav-tabs li a:hover, .modal-header-fullsrc .nav-tabs li a.active {
    color: #796c31;
    border-bottom: 2px solid #796c31;
    text-decoration: none
}

#searchModal .search-filter-ckgroup {
    margin-top: 24px;
    margin-bottom: 36px;
    color: #840000
}

#searchModal .search-filter-ckgroup .search-filter-ckgroup-title {
    font-weight: 700
}

#searchModal .search-filter-ckgroup label {
    margin-bottom: 0
}

#searchModal md-checkbox.md-default-theme:not(.md-checked) .md-icon, #searchModal md-checkbox:not(.md-checked) .md-icon {
    border-color: #840000
}

#searchModal md-checkbox.md-default-theme.md-checked .md-ink-ripple, #searchModal md-checkbox.md-checked .md-ink-ripple {
    color: #840000
}

#searchModal md-checkbox.md-default-theme.md-checked .md-icon, #searchModal md-checkbox.md-checked .md-icon {
    background-color: #840000
}

#searchModal md-checkbox.md-indeterminate .md-icon {
    background-color: rgba(0, 56, 130, 0.3)
}

#searchModal md-checkbox:focus {
    outline: 1px solid #ff8c00 !important
}

#searchModal #opzioniTab {
    padding-top: 24px
}

#searchModal #opzioniTab p.small {
    font-weight: 300;
    font-size: .875em;
    width: 100%;
    display: block
}

#searchModal .toggles label {
    margin: 0;
    font-size: 1.125em;
    font-weight: 600
}

#searchModal .toggles label input[type=checkbox] + .lever {
    margin: 8px 0 16px 0
}

#searchModal .toggles label input[type=checkbox] + .lever:after {
    background-color: #8e8c8c
}

#searchModal .toggles label input[type=checkbox]:checked + .lever:after {
    background-color: #4e7e5b
}

#searchModal .search-filter-dategroup {
    margin-top: 48px
}

#searchModal .search-filter-dategroup .form-group {
    padding: 0
}

#searchModal .search-filter-dategroup input {
    background-color: rgba(242, 242, 242, 1);
    border-radius: 4px
}

#ui-datepicker-div.ui-datepicker {
    border-radius: 4px;
    -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);
    width: auto
}

#ui-datepicker-div.ui-widget {
    font-family: "Titillium Web", Geneva, Tahoma, sans-serif
}

#ui-datepicker-div.ui-widget.ui-widget-content {
    border: 0
}

#ui-datepicker-div .ui-widget-header {
    background: 0;
    color: #555;
    border: 0;
    font-size: 1.111em
}

#ui-datepicker-div.ui-datepicker table {
    font-size: .889em
}

#ui-datepicker-div.ui-datepicker th {
    color: #796c31;
    font-weight: 600;
    text-align: center;
    font-size: 1em
}

#ui-datepicker-div.ui-datepicker td span, #ui-datepicker-div.ui-datepicker td a {
    text-align: center;
    color: #555;
    font-weight: 600;
    padding: 8px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid transparent;
    width: 40px;
    height: 40px
}

#ui-datepicker-div.ui-state-default, #ui-datepicker-div .ui-widget-content .ui-state-default, #ui-datepicker-div .ui-widget-header .ui-state-default, #ui-datepicker-div .ui-button, html .ui-button.ui-state-disabled:hover, html #ui-datepicker-div .ui-button.ui-state-disabled:active {
    border: 0;
    background: transparent;
    font-weight: 600;
    color: #555;
    border: 1px solid transparent
}

#ui-datepicker-div.ui-datepicker td a.ui-state-active, #ui-datepicker-div.ui-datepicker .ui-widget-content .ui-state-active, #ui-datepicker-div.ui-datepicker .ui-widget-header .ui-state-active, #ui-datepicker-div.ui-datepicker a.ui-button:active, #ui-datepicker-div.ui-datepicker .ui-button:active, #ui-datepicker-div.ui-datepicker .ui-button.ui-state-active:hover, #ui-datepicker-div.ui-datepicker .ui-datepicker-calendar .ui-datepicker-today a.ui-state-active {
    background-color: #4e7e5b;
    -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);
    color: #fff
}

#ui-datepicker-div .ui-state-hover, #ui-datepicker-div .ui-widget-content .ui-state-hover, #ui-datepicker-div .ui-widget-header .ui-state-hover, #ui-datepicker-div .ui-state-focus, #ui-datepicker-div .ui-widget-content .ui-state-focus, #ui-datepicker-div .ui-widget-header .ui-state-focus, #ui-datepicker-div .ui-button:hover, #ui-datepicker-div .ui-button:focus {
    color: #555;
    font-weight: 600;
    border: 1px solid #4e7e5b;
    border-radius: 50%
}

#ui-datepicker-div .ui-widget-header .ui-icon {
    background: 0
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-prev, #ui-datepicker-div.ui-datepicker .ui-datepicker-next {
    font-family: "italia-icon-font";
    color: #840000 !important;
    font-size: .6em;
    text-align: center;
    position: absolute;
    top: 12px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-prev {
    background-image: url(../img/it-chevron-left.svg)
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-next {
    background-image: url(../img/it-chevron-right.svg)
}

#ui-datepicker-div .ui-datepicker-calendar td.ui-state-disabled {
    opacity: 1
}

#ui-datepicker-div .ui-datepicker-calendar td.ui-state-disabled:before {
    background: #f5a623;
    content: "";
    position: absolute;
    transform: rotate(45deg);
    width: 1px;
    height: 40px;
    margin-left: 20px
}

#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-other-month:before {
    background: 0;
    content: none
}

#ui-datepicker-div .ui-datepicker-calendar .ui-datepicker-today a {
    border: 1px solid #4e7e5b;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #555
}

#actionModal {
    padding: 0 !important
}

#actionModal .modal-body {
    padding-left: 0;
    padding-right: 0
}

#actionModal .modal-content {
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.5);
    max-width: 278px;
    margin: 0 auto
}

#actionModal .icon-primary {
    fill: #840000
}

#actionModal .link-list-wrapper a:hover .icon {
    fill: #840000 !important
}

#actionModal .icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 16px
}

#actionModal .link-list-wrapper ul li {
    padding: 0
}

#actionModal .link-list-wrapper ul li a.ombra {
    -webkit-box-shadow: 0 15px 25px -10px rgba(2, 2, 2, 0.1);
    -moz-box-shadow: 0 15px 25px -10px rgba(2, 2, 2, 0.1);
    box-shadow: 0 15px 25px -10px rgba(2, 2, 2, 0.1)
}

#actionModal .link-list-wrapper ul li a.ombra.collapsed {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#actionModal .link-list-wrapper ul li a.ombra svg.iconexpand {
    fill: #840000;
    width: 22px;
    height: 22px;
    position: absolute;
    right: 24px;
    top: 8px
}

#actionModal .link-list-wrapper ul li a.ombra.collapsed svg.iconexpand {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1)
}

#actionModal .link-list-wrapper ul li a {
    padding: 0 24px;
    color: #840000
}

#actionModal .link-list-wrapper ul li a:hover {
    background-color: #efefef
}

#actionModal .link-list-wrapper ul li a.left-icon {
    display: block
}

#actionModal .link-list-wrapper ul.link-sublist {
    padding: 0
}

#footer {
    background: #4F0000; /*#003274;*/
    color: #fff;
    padding-top: 48px
}

#footer a {
    color: #fff
}

#footer a:hover {
    color: #ffffff
}

#footer section {
    margin-bottom: 28px
}

#footer section .intestazione {
    margin-bottom: 28px
}

#footer .logoimg {
    display: inline-block
}

#footer .logotxt {
    vertical-align: middle;
    height: 48px;
    text-align: left;
    margin-left: 15px;
    display: inline-block
}

#footer .logotxt h3 {
    display: table-cell;
    vertical-align: bottom;
    margin: 0;
    font-weight: 700;
    color: #FFF;
    font-size: 1.778em;
    height: 48px
}

#footer .logotxt h3 a {
    color: #FFF
}

#footer .logotxt h3 a:hover {
    color: #FFF;
    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: 24px;
    text-transform: uppercase;
    vertical-align: middle
}

#footer h4 a {
    vertical-align: middle
}

#footer h4 svg.icon {
    width: 22px;
    height: 22px;
    opacity: .5;
    margin-right: 16px;
    fill: #fff
}

#footer p {
    margin: 16px 0;
    color: #fff;
    font-size: .889em
}

#footer p a {
    color: #fff
}

#footer p a:hover {
    color: #ffffff
}

#footer .footer-list {
    list-style-type: none;
    margin: 15px 0;
    padding: 0;
    font-size: .889em
}

#footer .footer-list li {
    margin: 0
}

#footer .footer-list li a {
    padding: 4px 0;
    display: block;
    color: #fff
}

#footer .footer-list li a:hover {
    color: #ffffff
}

#footer .lista-linkutili .footer-list {
    font-size: .889em
}

#footer form {
    margin: 16px 0;
    font-size: .889em
}

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

.btn-spid {
    color: #fff;
    padding: 10px 0;
    background-color: #0064d3;
    font-family: "Titillium Web", Geneva, Tahoma, sans-serif;
    border-radius: 4px;
    font-size: 1.500em;
    width: 100%;
    margin-bottom: 40px
}

.btn-spid .ico-prefix {
    left: 0;
    border-right: 1px solid #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    padding: 3px
}

.btn-spid .btn-spid-text-center {
    display: inline-block;
    margin-left: 54px
}

.linkbold {
    font-weight: bold;
    font-size: 1em;
    color: #840000 !important
}

#spid-step1 h3, #spid-step2 h3, #spid-step3 h3 {
    color: #840000;
    font-size: 2em;
    margin: 24px 0 24px 0
}

#spid-step1 p, #spid-step2 p, #spid-step3 p {
    margin: 16px 0 32px 0
}

#intro #spid-step1 .btn-verde, #intro #spid-step2 .btn-verde, #intro #spid-step3 .btn-verde {
    font-size: 1.125em;
    width: 100%;
    margin: 0 auto;
    min-height: 56px
}

.spid-banner {
    width: 48%;
    float: left;
    background-color: #fff;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.17);
    border-radius: 4px;
    height: 56px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 12px;
    display: table
}

.spid-banner a {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    cursor: pointer
}

.spid-banner:nth-child(even) {
    float: right
}

.spid-banner img {
    width: 100%;
    height: auto;
    max-height: 28px;
    max-width: 100px
}

.spid-logo-sel {
    max-width: 110px;
    max-height: 30px;
    float: right
}

#spid-step2 .spid-inputgroup {
    margin-top: 16px;
    margin-bottom: 32px
}

#spid-step2 .spid-inputgroup input {
    font-size: 1.250em;
    font-weight: bold;
    color: #555;
    border-bottom: 1px solid #d8d8d8
}

#spid-step2 p {
    width: 100%
}

#footer .social {
    margin: 16px 0
}

#footer .social li {
    margin-right: 8px
}

#footer .social a {
    color: #fff
}

#footer .social a:hover {
    color: #ffffff
}

#footer .social a svg.icon {
    fill: #fff;
    width: 24px;
    height: 24px
}

#footer .social a:hover svg.icon {
    fill: #ffffff
}

#footer .postFooter {
    font-size: .8889em;
    border-top: 1px solid #9c8c3e;
    padding: 20px 0
}

#footer .postFooter {
    color: #9c8c3e
}

#footer .postFooter a {
    color: #fff;
    margin: 0 5px
}

#footer .postFooter a:hover {
    color: #ffffff
}

#footer .postFooter a:first-of-type {
    margin-left: 0
}

#footer a:focus {
    outline: 1px solid #ff8c00 !important
}

#footer section:last-of-type {
    margin-bottom: 0
}

#topcontrol {
    position: fixed;
    /*modifice fatte a mano*/
        border-radius: 50%;
        background-color:white ;
        font-size: x-large;
    /*++++++++++*/
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    visibility: hidden;
    opacity: 1;
    text-align: center;
    padding: 0;
    -webkit-transition: visibility 0s 1s, opacity 1s linear;
    -o-transition: visibility 0s 1s, opacity 1s linear;
    transition: visibility 0s 1s, opacity 1s linear
}

#topcontrol a:hover{
    color: #840000!important;
}

#topcontrol.visualizza {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 1s linear;
    -o-transition: opacity 1s linear;
    transition: opacity 1s linear
}

#topcontrol svg.icon {
    width: 40px;
    height: 40px;
    fill: #fff
}

section .titolosezione h3 {
    color: #796c31;
    font-size: 1.778em;
    margin: 0 0 36px 0
}

section .titolosezione h3 a {
    color: #796c31
}

section .titolosezione.filtrisezione {
    border-bottom: 2px solid #f1f2f4;
    padding-bottom: 16px
}

section.bg-grigio .titolosezione.filtrisezione {
    border-bottom: 2px solid #dfe3e7
}

section h3.titolettosezione {
    color: #840000;
    font-size: 1.556em;
    font-weight: 600;
    margin: 0 0 36px 0;
    border-bottom: 2px solid #f1f2f4;
    padding-bottom: 16px
}

section .titolettosezione {
    margin: 0 0 36px 0;
    border-bottom: 2px solid #f1f2f4;
    padding-bottom: 16px
}

section .titolettosezione h3 {
    color: #840000;
    font-size: 1.556em;
    font-weight: 600
}

.btn-trasparente {
    background: transparent;
    border: 1px solid #840000;
    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);
    -moz-box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.33);
    color: #840000 !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 svg.icon {
    vertical-align: middle;
    fill: #840000;
    width: 20px;
    height: 20px
}

.btn-trasparente:hover svg.icon {
    fill: #fff
}

.btn-trasparente.active {
    background: #7b0000;
    color: #fff !important;
    border: 1px solid #7b0000;
    -webkit-box-shadow: none !important;
    -moz-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;
    -moz-box-shadow: none !important;
    box-shadow: none !important
}

.btn-trasparente.active svg.icon, .btn-trasparente.activepart svg.icon {
    fill: #fff !important
}

.btn-trasparente:hover {
    background: #7b0000;
    color: #fff !important;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}

.btn-verde, #intro .btn-verde, #servizi .btn-verde {
    font-size: .778em;
    color: #fff !important;
    padding: 8px 24px;
    background: #4e7e5b;
    margin: 0 16px 24px 0
}

.btn-trasp {
    font-size: .778em;
    color: #fff !important;
    padding: 8px 24px;
    background: transparent;
    margin: 0 16px 24px 0;
    border: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none
}

.btn-badge {
    background-color: #e6efe8;
    border: 1px solid #e6efe8;
    border-radius: 4px;
    color: #840000 !important;
    font-weight: 600;
    font-size: .889em;
    padding: 4px 12px;
    vertical-align: middle;
    margin: 0 8px 8px 0;
    display: inline-block;
    line-height: 1.5
}

.btn-badge-close {
    cursor: pointer;
    margin-left: 8px;
    padding: 0;
    display: inline-block
}

.btn-badge-close svg.icon {
    width: 18px;
    height: 18px;
    fill: #840000;
    margin: 0;
    padding: 0
}

.argomenti {
    margin-bottom: 20px
}

.argomenti a.badge-argomenti {
    color: #840000;
    border: 1px solid #840000;
    margin-right: 8px;
    margin-bottom: 12px;
    font-size: .889em;
    font-weight: 600
}

.argomenti a.badge-argomenti:hover {
    background-color: #840000;
    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
}

#main_container .owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px 5px
}

section .pagination .page-item .page-link {
    font-size: .778em;
    color: #840000
}

section .pagination .page-item .page-link svg.icon {
    fill: #840000;
    width: 26px;
    height: 26px
}

section .pagination .page-item .page-link[aria-current] {
    border: 1.5px solid #51825f;
    color: #555
}

section .pagination .page-item .page-link:hover {
    background: #51825f !important;
    text-decoration: underline !important;
    color: #fff
}

section .pagination .page-item .page-link:hover svg.icon {
    fill: #fff
}

.cookiebar {
    min-height: 120px;
    vertical-align: baseline;
    text-align: center;
    padding-top: 36px;
    font-size: .889em;
    width: 100%;
    max-width: none !important
}

.cookiebar p {
    margin: 0 auto
}

.cookiebar .btn-verde {
    font-size: .875em;
    margin: 8px 0 8px 16px;
    vertical-align: baseline
}

.cookiebar .btn-trasp {
    font-size: .875em;
    margin: 8px 0;
    padding-left: 0;
    padding-right: 0;
    text-decoration: underline;
    vertical-align: baseline
}

.btn.focus, .btn:focus {
    outline: 0;
}

input[type="checkbox"]:focus, input[type="radio"]:focus {
    border: 2px solid #ff8c00 !important
}

h2:focus, h2 a:focus, h3:focus, h3 a:focus, h4:focus, h4 a:focus {
    outline: 1px solid #ff8c00 !important
}

.argomenti a.badge-argomenti:focus {
    border: 2px solid #ff8c00 !important;
    outline: 0
}

a.tutte:focus {
    outline: 2px solid #ff8c00 !important
}

#topcontrol:focus {
    outline: 2px solid #ff8c00 !important
}

button.owl-dot:focus {
    outline: 0;
    border: 2px solid #ff8c00 !important;
    border-radius: 50%
}

/*input[type="text"]:focus {
    border: 2px solid #ff8c00 !important
}*/

button.btn.btn-info.mr-2.btn-verde:focus {
    outline: 2px solid #ff8c00 !important
}

button.btn.btn-default.btn-trasparente.active:focus {
    border: 2px solid #ff8c00 !important;
    outline: 0
}

@media (min-width: 1200px) {
    .hidden-lg, .hidden-md {
        display: none !important
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .sub_nav li a {
        padding: 13px 16px
    }

    .sub_nav li.megamenu a {
        padding: 13px 6px
    }

    #sub_nav .sub_nav .dropdown-menu {
        width: 960px
    }

    .list_link-utili li a {
        padding: 13px 8px
    }

    #mainheader .social li {
        margin: 0;
        font-size:larger;
    }
}

@media (min-width: 992px) {
    .hidden-md {
        display: none !important
    }

    .socialmobile {
        display: none !important
    }

    .modal-backdrop.show {
        opacity: 0 !important
    }
}

@media (max-width: 991px) {
    #mainheader .entesup a {
        line-height: 1;
        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 16px
    }

    .sub_nav li.megamenu a {
        padding: 13px 6px
    }

    .list_link-utili li {
        display: none
    }

    .list_link-utili li:last-child {
        display: inline-block
    }

    .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: 767px) and (max-width: 991px) {
    .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
    }
    
}

@media (max-width: 1090px) {
    #topcontrol i{
        margin-top: 7px;
        margin-left: 1px;
    }
    #mainheader .preheader {
        max-height: 0px;
    }
    #mainheader.ridotto {
        margin: 0
    }

    body.ridotto {
        padding-top: 0
    }

    .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-top: 10px;
    }

    .hidden-xs {
        display: none !important
    }

    html {
        overflow-x: hidden
    }

    body {
        font-size: 16px;
        line-height: 1.2
    }

    body.home #mainheader {
        height: 136px
    }

    #mainheader {
        height: 90px;
    }

    #mainheader.ridotto {
        position: fixed;
        left: 0;
        right: 0;
        height: 100px;
    }

    #mainheader .preheader .entesup {
        font-size: 0px;
        font-weight: bold;
        text-align: left;
        text-indent: 0 !important
    }

    #mainheader .preheader .accedi .btn-accedi {
        padding: 0 8px
    }

    #mainheader .preheader .accedi span {
        display: none
    }

    #mainheader .comune .logoimg {
        margin-top: 0px;
    }

    #mainheader .cerca {
        display: inline
    }

    #mainheader .cerca .form-control {
        display: none
    }

    #mainheader .p_cercaMobile {
        display: inline-block;
        float: right;
        height: 96px;
        padding-top: 18px;
        text-align: center;
        padding-right: 8px
    }

    #mainheader .p_cercaMobile .btn-cerca {
        height: 40px;
        width: 40px;
        border: 0;
        color: #fff;
        padding: 0;
        background: transparent
    }

    #mainheader .p_cercaMobile .btn-cerca svg.icon {
        width: 28px;
        height: 28px;
        vertical-align: middle;
        fill: #fff
    }

    #mainheader .p_cercaMobile .btn-cerca:hover svg.icon {
        fill: #ffffff
    }

    #mainheader.ridotto .p_cercaMobile {
        height: 64px;
        padding-top: 26px
    }

    #mainheader .social {
        display: none
    }

    #mainheader .menu-btn {
        display: block !important;
        float: left;
        width: 24px;
        height: 24px;
        padding: 0;
        margin: 35px 4px 16px 24px;
        border: 0 none;
        background: transparent
    }

    #mainheader.ridotto .menu-btn {
        margin-top: 30px
    }

    #mainheader .menu-btn .icon-bar {
        position: relative;
        z-index: 171;
        width: 24px;
        height: 4px;
        background-color: #fff;
        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
    }


    /*Modifiche css proprietario*/

    #mainheader .comune .logoimg img {
        height: 70px;
        max-height: 70px;
    }


    #mainheader .comune .logotxt h1 {
        font-size: 1.778em;
    }
    /*++++++++++++++++++*/


    #cercaMobile {
        position: absolute;
        right: 0;
        left: 0;
        padding: 15px 8px;
        background-color: #003274;
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
        z-index: 90
    }

    #mainheader.ridotto #cercaMobile {
        top: 120px
    }

    .navbar-toggler-icon {
        background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiP�I+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)
    }

    .cbp-spmenu-vertical {
        width: 300px
    }

    .cbp-spmenu-left {
        left: -300px
    }

    .cbp-spmenu-right {
        right: -300px
    }

    .push-body-toright .push_container {
        left: 300px
    }

    .modal-header-fullsrc {
        padding-top: 16px;
        box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.06);
        margin: 0 0 24px 0
    }

    .modal-header-fullsrc h1 {
        font-size: 1.125em;
        text-align: center;
        display: inline-block
    }

    .modal-header-fullsrc .confirm {
        top: 0;
        right: 0;
        left: auto;
        min-width: 0
    }

    #spidModal .modal-header-fullsrc .back {
        margin-top: 0
    }

    #spidModal .modal-header-fullsrc .close {
        top: 0
    }

    .modal-header-fullsrc .close, .modal-header-fullsrc .back {
        margin-top: 0;
        position: absolute;
        left: 0
    }

    .modal-header-fullsrc .close svg.icon, .modal-header-fullsrc .back svg.icon {
        width: 28px;
        height: 28px
    }

    #searchModal #cerca-txt, #searchModal .search-filter-dategroup .form-group input {
        height: 40px;
        font-size: 1em
    }

    #searchModal .modal-body-search .form-filtro {
        margin-top: 24px;
        margin-bottom: 48px
    }

    #searchModal .form-group .ico-sufix {
        width: 40px
    }

    #footer .logotxt {
        width: 150px
    }

    #footer .logotxt h3 {
        font-size: 1.375em;
        vertical-align: bottom
    }

    #footer section {
        margin-bottom: 0
    }

    #footer section .intestazione {
        margin-bottom: 8px
    }

    #footer h4 {
        font-size: .875em;
        border: 0;
        padding: 24px 0 0 0
    }

    #footer h4 svg.icon {
        margin-right: 8px
    }

    #footer .lista-linkutili h4 {
        border-top: 1px solid #796c31
    }

    #footer .lista-linkutili div[class^='col']:first-of-type h4, #footer .lista-linkutili div[class*=' col-']:first-of-type h4 {
        border: 0
    }

    #footer .lista-sezioni .footer-list {
        border-bottom: 1px solid #796c31;
        padding: 0 0 24px 34px;
        margin: 0;
        font-size: 1em
    }

    #footer .lista-linkutili .footer-list {
        font-size: 1em
    }

    #footer p {
        font-size: 1em;
        margin-bottom: 24px
    }

    #footer form {
        margin: 16px 0 24px 0;
        font-size: 1em
    }

    #footer .postFooter {
        font-size: 1em
    }

    #footer .postFooter a {
        line-height: 1.5
    }

    .altri-argomenti {
        margin-top: 24px
    }

    .altri-argomenti .altri-argomenti-titolo {
        float: none;
        margin-bottom: 8px
    }

    .altri-argomenti .altri-argomenti-titolo h4 {
        font-size: .875em
    }

    .altri-argomenti .altri-argomenti-elenco {
        margin-left: 0
    }

    .altri-argomenti .altri-argomenti-elenco a.badge-argomenti {
        font-size: 1em
    }

    section .titolosezione h3 {
        margin: 0 0 24px 0
    }

    section .pagination {
        margin-top: 16px
    }

    section .pagination .page-item .page-link {
        font-size: .875em;
        height: 32px;
        min-width: 32px;
        padding: 0
    }

    section .pagination .page-item .page-link i[class^=it-] {
        font-size: .875em
    }

    .cookiebar p {
        font-size: 1em
    }

    .bricklayer-column {
        padding-left: 6px !important;
        padding-right: 6px !important
    }
}

@media (max-width: 576px) {
    #mainheader .preheader .entesup {
        margin: 0
    }

    #mainheader .preheader .accedi .btn-accedi {
        padding: 0 4px
    }

    #mainheader .logotxt {
        margin-left: 16px !important;
        width: 110px !important
    }

    #mainheader.ridotto .logotxt {
        width: 140px !important
    }

    #mainheader.ridotto .p_cercaMobile {
        padding-top: 26px
    }

    #mainheader.ridotto .btn-cerca {
        margin-left: 0
    }

    #mainheader.ridotto .comune .logoimg {
        margin-top: 20px
    }

    #mainheader.ridotto .comune .logoimg img {
        height: 40px
    }

    #mainheader .menu-btn {
        position: absolute
    }

    #mainheader .comune {
        padding-left: 50px
    }

    #mainheader .comune .logotxt h1 {
        font-size: 40px!important;
        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
    }
}






.navbar{
    background: transparent !important;
}

.dropdown{
    border-radius:0;
    border:0;
}
.dropdown-menu{
    background: transparent;
    border:0;
    top:80%;
    border-radius:0px 0px 5px 5px;
}
.dropdown-item:hover{
    background:#7b0c00;
    color:#fff;
}
.dropdown-menu a{
    color:#000;
}
.navbar .nav-item .nav-link{
    color:#eee !important;
    font-weight: 600;
    font-size: 18px;

}
.navbar .nav-item .nav-link:hover .navbar .nav-item .nav-link{
    color:red !important;

}

.navdropdown{
    padding: 0px !important;
}
ul.navdropdown{
    background: rgba(116, 166, 129, 0.1) !important;
}


.slider-size{
    height: 600px!important;
}






.container-left{
    width: 50%;
    float: left;
    background: white;
}
.container-left-section{
    height: 400px;
    margin: 2px;
}
.container-right{
    width: 50%;
    float: right;
    background: white;
}
.container-right-section{
    height: 400px;
    margin: 2px;
}
.container-video{
    padding-top: 406px;
    background: white;
}

.container-video-section{
    height: 400px;
    margin: 0px 2px 0px 2px;
}

.btn-cerca{
    height: 60px;
    width: 60px;
    border-radius: 100%;
    color: #830000;
}

.btn:hover{
    color: #830000;
    text-decoration: none;
}

.search-form{
    margin-top: 10px;
}
#searchbutton{
    box-shadow: none;
    border: none;
    font-size: 35px;
    top: unset!important;
    transition: none!important;
    padding: unset!important;
}

@media (max-width: 700px) {
    .container-left{
        width: 100%;
        background: white;
    }
    .container-left-section{
        height: 300px;
        margin: 2px;
    }
    .container-right{
        width: 100%;
        background: white;
    }
    .container-right-section{
        height: 400px;
        margin: 2px;
    }
    .container-video{
        background: white;
        width: 100%;
        padding-top: 708px;
    }

    .container-video-section{
        height: 400px;
        margin: 2px;
    }
    /*
    .widget{
        background: black!important;
    }
    */

    /*calendario*/

    .view-container-border {
        background: white;
        border: red!important;
        padding: 0!important;
    }
}

.wp-block-image img {
    width:100% !important;
}

