/*
 Theme Name:   Design Comuni Icarius
 Theme URI:
 Description:
 Author:       UpNova Group
 Author URI:
 Template:     design-comuni-wordpress-theme-main
 Version:      20250327
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 /* == Add your own styles below this line ==
--------------------------------------------*/
/* article.article-wrapper div.col-lg-12>p:first-child {
    display: none !important;
} */

.img-responsive-wrapper .img-responsive {
    padding-bottom: 56.25% !important;
}

/*mod. card sito tematico*/
.img-tematico-site {
    border-radius: unset !important;
    background: none !important;
    color: unset !important;
}

.avatar img {
    border-radius: 4px !important;
    object-fit: contain !important;
}

.card-mod-tematico {
    align-items: center !important;
}

#CustomAmmTrasp {
    flex-direction: row;
    flex-wrap: wrap;
}

/* download manager modified template*/
span.badge {
    color: #1a1a1a !important;
}

li.UpnovaDonwload a {
    width: 100%;
}

#dmUpnova {
    max-width: 700px;
}

.w3eden .text-muted {
    display: none;
}

.w3eden .media {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

.w3eden .mr-3 {
    width: 20%;
    margin-right: 5px !important;
}

.w3eden .media-body {
    width: 80%;
}

.w3eden .ml-3 {
    width: 100%;
    margin-left: unset !important;
}

.w3eden .ml-3 a {
    width: 100%;
    margin-top: 15px;
}

/*END*/
#NotEvent {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

#CardCategory {
    letter-spacing: 0px !important;
    font-size: 14px;
}

strong {
    font-weight: 700 !important;
}

.callout {
    display: none !important;
}

img {
    max-width: 100%;
}

/* @media (max-width: 575px) {
    .card-wrapper.card-teaser-wrapper {
        padding: 12px !important;
    }
} */
.card-wrapper.card-teaser-wrapper .card-flex .card-image img {
    z-index: auto;
    object-fit: contain !important;
    width: 150% !important;
    padding-right: 13px !important;
}

/* sito tematico*/
body.home div.card-body h3.sito-tematico {
    font-size: 0.777rem !important;
}

/* card home-page*/
body.home div.card-body p.m-0 {
    display: none !important;
}

body.home div.card-image-wrapper .card-title {
    margin-bottom: 40px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 80px !important;
}

body.home .card-wrapper.card-teaser-wrapper .card-flex .card-image img {
    max-width: 100% !important;
    justify-items: start !important;
}

@media (max-width: 575px) {
    .navbar .navbar-collapsable .navbar-nav li a.nav-link {
        font-size: 1.3rem !important;
    }
}

/*sfondo ricerca*/
#novita div.section.section-muted {
    background-image: url(/wp-content/uploads/2023/11/02.webp) !important;
    height: 500px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    background-position: center !important;
}

.cmp-input-search .autocomplete-icon {
    z-index: 1 !important;
}

#novita div.row.d-flex.justify-content-center {
    height: 100% !important;
    align-items: center !important;
}

#menu-menu-top-bar {
    display: flex !important;
    justify-content: end !important;
}

.menu-item {
    border-left: 1px solid #fff !important;
}

.menu-item a {
    margin-left: 10px;
}

/*@media (min-width:992px){
    .it-header-slim-wrapper .it-header-slim-wrapper-content{
        display: grid !important;
        grid-template-columns: 0.3fr 2.0fr 1fr !important;
    }
}*/
.custom-menu-class,
.it-header-slim-right-zone {
    justify-self: flex-start !important;
}

body.tax-argomenti div.ass-contact {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

div.bg-grey-card.ass-contact {
    background: #007a52;
}

.not-arg {
    text-align: center;
    z-index: 9999;
    display: block;
    position: relative;
    margin-top: 110px;
    margin-bottom: 110px;
    font-weight: 600;
    font-size: 1.3rem;
}

div#custom-menu>ul>li {
    font-size: 0.778em;
}

.drop-shadow {
    box-shadow: none !important;
}

div.it-header-slim-left-zone a {
    margin-right: 10px;
}

div.it-header-slim-right-zone a.btn-full {
    padding-right: 0px !important;
}

#menu-top-menu {
    display: flex;
}

body.home #notizie div.card-wrapper div.card-body p.text-secondary {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 40px !important;
}

figure.figure img {
    object-fit: cover !important;
}

/* Modifica colori sito */
.it-hero-wrapper {
    background-color: #fff !important;
}

#colore-principale {
    background-color: #0079B1 !important;
}

.it-carousel-wrapper .splide__pagination button.is-active {
    background-color: #0079B1 !important;
}

/*cambio colore calendario in pagina eventi*/
#HeaderCalendar {
    background-color: #0079B1 !important;
}

a.link-calendar {
    color: #0079B1 !important;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
}

a.link-calendar:hover {
    text-decoration: underline !important;
}

/* END*/

/*Cambio colore tasto download plugin download manager*/
.w3eden .btn-success {
    --color-success: #0079B1 !important;
}

.w3eden .btn-success:hover {
    --color-success-hover: #0165d1 !important;
    --color-success-rgb: rgb(1, 66, 137, 0.4) !important;
}

.w3eden .btn-success:active {
    --color-success-active: #0079B1 !important;
}

/*END*/
.clean-input {
    display: none;
}

.it-header-slim-wrapper,
.back-to-top {
    background: #00497D !important;
}

.it-header-center-wrapper,
.it-header-navbar-wrapper,
.navbar .navbar-collapsable .menu-wrapper,
div#header-nav-wrapper div.container div.navbar {
    background: #0079B1 !important;
}

a:hover {
    --bs-link-hover-color: #0079B1 !important;
    --bs-link-color: #0079B1 !important;
}

a {
    --bs-link-hover-color: #0079B1 !important;
    --bs-link-color: #0079B1 !important;
}

.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a,
.t-primary {
    color: #0079B1 !important;
}

.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a:hover {
    color: #00497D !important;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 0.25rem #0079B18e !important;
}

.chip .chip-label,
a.read-more,
.btn-outline-primary,
.card .card-body .category-top a.category,
.evidence-section .list-item.active span,
.useful-links-section .list-item.active span,
.evidence-section .list-item.active span,
.useful-links-section .list-item.active:hover span,
.btn-dropdown,
.link-list-wrapper ul li a span,
.cmp-navscroll .navbar.it-navscroll-wrapper .link-list-wrapper .accordion .accordion-header .accordion-button,
.point-list-wrapper .point-list .point-list-aside.point-list-primary,
.card .card-body a .card-title.h5,
.card .card-body a h5.card-title,
.search-modal .searches-list li a,
.it-header-wrapper .navbar-collapsable .logo-hamburger,
.it-header-wrapper .navbar-collapsable .it-socials,
.accordion-header .accordion-button,
.cmp-accordion .accordion-header .accordion-button:not(.collapsed),
.accordion-header .accordion-button:after {
    color: #0079B1 !important;
}

.chip .chip-label:hover {
    color: #fff !important;
}

.btn-outline-primary {
    box-shadow: inset 0 0 0 2px #0079B1 !important;
}

#modifica {
    background-color: #00497D !important;
    box-shadow: none !important;
}

.it-page-section .card.card-teaser-info {
    border-left: 8px solid #0079B128 !important;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus,
.btn-primary.focus,
.btn-primary:focus {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 0.25rem #0079B163 !important;
}

aside .cmp-navscroll .navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active,
.navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active {
    border-left: 2px solid #0079B1 !important;
}

.point-list-wrapper .point-list .point-list-aside.point-list-primary:after,
.form-check [type=radio]:checked+label::after,
.form-check [type=checkbox]:checked+label::after,
.bg-primary,
.chip:is(a):hover:not(.chip-disabled),
.btn-primary,
#ValutazioneServizio,
.it-calendar-wrapper .it-header-block-title {
    background-color: #0079B1 !important;
}

.it-footer-main {
    background-color: #202a2e !important;
}

.fill-white {
    fill: #fff !important;
}

.cmp-input-search-button.form-group .input-group-prepend svg,
.link-list-wrapper ul li a:hover:not(.disabled) .icon,
.rating:not(:checked)>label:hover svg,
.rating:not(:checked)>label:hover~label svg,
.rating>input:checked~label svg,
.it-header-wrapper .search-link svg,
.icon-primary:not(.icon-designers-footer),
a.read-more .icon,
.search-modal .form-group .autocomplete-icon .icon,
.search-modal .form-group .input-group-prepend svg,
.search-modal .modal-title .search-link svg,
.it-header-wrapper .navbar-collapsable .it-socials ul li a svg {
    fill: #0079B1 !important;
}

.form-check [type=radio]:checked+label::before,
.form-check [type=radio]:checked+label::after,
.point-list-wrapper .point-list .point-list-aside.point-list-primary,
.form-check [type=checkbox]:checked+label::after,
.btn-primary,
.chip:not(.chip-disabled) {
    border-color: #0079B1 !important;
}

.cmp-info-radio.has-border-green {
    outline: 2px solid #0079B1 !important;
}

@media(max-width:767px) {
    .it-header-wrapper .search-link svg {
        fill: #fff !important;
    }

    .py-mobile-edit {
        padding-top: 1.5rem !important;
        padding-bottom: 0 !important;
    }
}

.navbar .navbar-collapsable .navbar-nav li a.nav-link.active {
    border-left: 3px solid #0079B1 !important;
}

#ColorChangeHomeArgomenti {
    color: #0079B1 !important;
}

#ColorChangeLinkUtiliHome {
    color: #0079B1 !important;
}

#ChangeFocusColorButton:focus {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 0.25rem #0079B152 !important;
}

#SvgDocumentiDownload {
    fill: #0079B1 !important;
}

/*end modifica colori*/
#ricerca {
    background-color: #fff;
}

.text-truncate.white-space-inherit {
    white-space: inherit !important;
}

.edit-grid-text {
    display: grid;
    grid-template-columns: max-content max-content 1fr;
}

.white-space-inherit {
    white-space: inherit !important;
}

video#thumb {
    max-width: 100%;
    width: 100%;
}

div.menu-wrapper div.it-brand-title:first-child {
    margin-left: 10px;
}

/* .card-wrapper {
    padding-bottom: 0px !important;
} */
div.bg-primary div.container div.card {
    padding-bottom: 24px !important;
}

#evidenza div.section:first-child {
    padding: 0px !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

.card-wrapper.card-teaser-wrapper>.card-teaser {
    flex-wrap: nowrap !important;
}

.title-small-semi-bold-medium {
    font-size: 1.3rem !important;
}

ul.children {
    padding-left: 25px;
}

.input-group>.form-control:focus,
.input-group>.form-floating:focus-within,
.input-group>.form-select:focus {
    z-index: 0 !important;
}

.input-group {
    flex-wrap: wrap-reverse !important;
}

.m-w-200px {
    max-width: 200px;
}

#novita-in-evidenza div.row div.card {
    margin-bottom: 40px !important;
}

.it-header-wrapper .navbar-collapsable .close-div svg {
    fill: #0079B1 !important;
}

@media(max-width:991px) {
    .navbar .navbar-collapsable .menu-wrapper {
        background: #fff !important;
    }

    .it-header-wrapper .navbar .navbar-collapsable .navbar-nav li a.nav-link.active {
        background-color: #0079B11c !important;
    }

    .navbar .navbar-collapsable .navbar-nav li a.nav-link {
        color: #0079B1 !important;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .w-100-tablet {
        flex: 0 0 100% !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .it-hero-wrapper .it-hero-card.it-hero-bottom-overlapping {
        margin-bottom: 0 !important;
    }
}

@media (max-width:325px) {
    .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .it-brand-title {
        font-size: 1em !important;
    }
}

@media (max-width:370px) {
    .it-header-wrapper .navbar-collapsable .close-div {
        left: 270px !important;
    }

    .it-header-wrapper .navbar-collapsable .logo-hamburger .it-brand-title {
        font-size: 20px !important;
    }
}

@media (min-width:768px) {
    #altezza-img {
        height: 360px;
    }
}

#MobileSocial svg {
    fill: #0079B1 !important;
}

#DesignItaliaSvg {
    fill: #fff !important;
}

.ChangeP>p {
    margin-bottom: -1rem;
}

/* personalizzazione checkbox Form richiedi assistenza*/
span.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7 .wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
}

.wpcf7-checkbox label {
    position: relative;
    cursor: pointer;
}

.wpcf7-checkbox input[type=checkbox] {
    /*position: relative;*/
    position: absolute;
    visibility: hidden;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
}

.wpcf7-checkbox input[type=checkbox]+span {
    /* border: 3px solid red; */
}

.wpcf7-checkbox input[type=checkbox]+span:before {
    display: block;
    position: absolute;
    content: '';
    transition: .2s ease-out;
    border-radius: 3px;
    height: 20px;
    width: 20px;
    top: 4px;
    left: 4px;
    border: 2px solid #5d7083;
}

.wpcf7-checkbox input[type=checkbox]+span:after {
    display: block;
    position: absolute;
    content: "";
    top: 6px !important;
    left: 5px !important;
    width: 8px !important;
    height: 13px !important;
    border-style: solid;
    border-width: 2px;
    border-color: transparent #fff #fff transparent;
    transform: rotate(40deg);
    backface-visibility: hidden;
    transform-origin: 100% 100%;
    opacity: .8;
    transition: .2s ease-out;
    height: 30px;
    width: 30px;
    top: 0;
    left: 0;
    visibility: hidden;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
}

.wpcf7-checkbox input[type=checkbox]:checked+span:before {
    background: #0079B1;
    border: 2px solid #0079B1;
}

.wpcf7-checkbox input[type=checkbox]:checked+span:after {
    visibility: visible;
}

.wpcf7-list-item-label {
    margin-left: 40px;
    display: inline-block;
}

.wpcf7 form.invalid .wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: none !important;
}

/* .cmp-nav-steps .steppers-nav {
    justify-content: flex-end !important;
} */

form.wpcf7-form:not(.submitting) .wpcf7-spinner {
    position: absolute;
}

@media (min-width: 576px) {
    #SizeFontDettagli {
        font-size: 1rem;
    }

    p{
        font-size: unset !important;
    }
}

/**
 Modifica dei font del calendario eventi in homepage
 */
#EventiHome {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}

@media (max-width:991px) {
    #ButtonHome {
        width: unset !important;
    }
}

@media (max-width:425px) {
    #EventiHome {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: nowrap;
    }

    #MarginB {
        margin-bottom: 30px !important;
    }
}


.CardText {
    font-family: Titillium Web !important;
    font-weight: 700 !important;
    font-size: 1.777rem !important;
}

/*Modifica grafica date claendario homepage*/
#calendar-number {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/*MODIFICA CAROSELLO EVENTI HOMEPAGE*/
button.splide__arrow {
    background: none !important;
    font-size: 25px;
    top: -65px;
    transform: unset;
    color: #0079B1;
    background-image: none;
    /* box-shadow: inset 0 0 0 2px #0079B1; */
    opacity: unset;
    border: 3px solid #0079B1;
    border-radius: 4px;
    touch-action: manipulation;
}

button.splide__arrow:active:focus {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 0.25rem #0079B18e !important;
}

.splide__arrow svg {
    fill: #0079B1;
}

button.splide__arrow--next {
    right: 15px !important;
}

button.splide__arrow--prev {
    right: 80px !important;
    left: auto !important;
}

#calendario div.section {
    padding: 48px 0px !important;
}

.pojo-a11y-toolbar-link {
    text-decoration: none;
}

@media (max-width:1199px) {
    #ModCol {
        margin-bottom: 100px;
    }

    /* .row-calendar .it-calendar-wrapper .card .card-text img {
        display: none;
    } */
}

.LineBottom {
    border-bottom: 1px solid #c5c7c9;
}

@media (min-width:768px) {
    #custom-menu-mobile {
        display: none;
    }
}

@media (max-width:767px) {
    #custom-menu {
        display: none;
    }
}

#FontMod {
    font-size: 0.778em !important;
}

/*Modifiche plugin download manger*/
#wpdmmydls-9673d1925d9712de633104e39f7fae32 td {
    min-width: unset !important;
}

#wpdmmydls-9673d1925d9712de633104e39f7fae32_length select {
    width: 80px !important;
}

@media (max-width:991px) {
    .wpdmdt-toolbar {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    div.wpdmdt-toolbarb {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width:489px) {
    #wpdmmydls-9673d1925d9712de633104e39f7fae32_filter {
        display: flex;
        flex-direction: column;
        align-content: flex-start;
    }

    #wpdmmydls-9673d1925d9712de633104e39f7fae32_filter a {
        margin-left: unset !important;
        margin-bottom: 10px;
    }
}

#wpdmmydls-9673d1925d9712de633104e39f7fae32_filter label {
    margin-bottom: 20px;
}

#wpdmmydls-9673d1925d9712de633104e39f7fae32 td.__dt_col_categories {
    max-width: 100% !important;
}

@media (max-width: 799px) {
    #wpdmmydls-9673d1925d9712de633104e39f7fae32 tr.odd {
        border: 1px solid rgba(0, 0, 0, 0.3) !important;
    }

    #wpdmmydls-9673d1925d9712de633104e39f7fae32 tr.even {
        border: 1px solid rgba(0, 0, 0, 0.3) !important;
    }
}

.card:after {
    margin-top: unset !important;
}

@media (max-width:436px) {
    #wpdmmydls-9673d1925d9712de633104e39f7fae32_previous {
        display: none;
    }

    #wpdmmydls-9673d1925d9712de633104e39f7fae32_next {
        display: none;
    }
}

.color-white:hover {
    text-decoration: underline !important;
    color: #fff !important;
}

.color-grey:hover {
    text-decoration: underline !important;
    color: #666 !important;
}

/*CSS ORGANIGRAMMA -------------------------------------------------------------------------------------------*/
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#wrapper-org {
    margin-left: auto;
    margin-right: auto;
    max-width: 80em;
}

#container-org {
    float: left;
    padding: 1em;
    width: 100%;
}

ol.organizational-chart a {
    text-decoration: none;
}

ol.organizational-chart,
ol.organizational-chart ol,
ol.organizational-chart li,
ol.organizational-chart li>div {
    position: relative;
}

ol.organizational-chart,
ol.organizational-chart ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

ol.organizational-chart {
    text-align: center;
}

ol.organizational-chart ol {
    padding-top: 1em;
}

ol.organizational-chart ol:before,
ol.organizational-chart ol:after,
ol.organizational-chart li:before,
ol.organizational-chart li:after,
ol.organizational-chart>li>div:before,
ol.organizational-chart>li>div:after {
    background-color: #b7a6aa;
    content: '';
    position: absolute;
}

ol.organizational-chart ol>li {
    padding: 1em 0 0 1em;
}

ol.organizational-chart>li ol:before {
    height: 1em;
    left: 50%;
    top: 0;
    width: 3px;
}

ol.organizational-chart>li ol:after {
    height: 3px;
    left: 3px;
    top: 1em;
    width: 50%;
}

ol.organizational-chart>li ol>li:not(:last-of-type):before {
    height: 3px;
    left: 0;
    top: 2em;
    width: 1em;
}

ol.organizational-chart>li ol>li:not(:last-of-type):after {
    height: 100%;
    left: 0;
    top: 0;
    width: 3px;
}

ol.organizational-chart>li ol>li:last-of-type:before {
    height: 3px;
    left: 0;
    top: 2em;
    width: 1em;
}

ol.organizational-chart>li ol>li:last-of-type:after {
    height: 2em;
    left: 0;
    top: 0;
    width: 3px;
}

ol.organizational-chart li>div {
    background-color: #EFEFEF;
    color: #666666;
    border-radius: 3px;
    min-height: 2em;
    padding: 0.5em;
}

/*** PRIMARY ***/
ol.organizational-chart>li>div {
    background: linear-gradient(180deg, #186060 0%, #0079B1 48%, #0079B1 100%);
    margin-right: 1em;
    color: #fff;
    border: 3px solid #c8c4c4;
}

ol.organizational-chart>li>div:before {
    /*bottom: 2em;
    height: 3px;
    right: -1em;
    width: 1em;*/
}

ol.organizational-chart>li>div:first-of-type:after {
    /* bottom: -24px;
    height: 22px;
    right: -1em;
    width: 3px;*/
}

ol.organizational-chart>li>div+div {
    margin-top: 1em;
}

ol.organizational-chart>li>div+div:after {
    height: calc(100% + 1em);
    right: -1em;
    top: -1em;
    width: 3px;
}

/*** SECONDARY ***/
ol.organizational-chart>li>ol:before {
    /*left: inherit;*/
    right: 0;
}

ol.organizational-chart>li>ol:after {
    /*left: 0;*/
    width: 49%;
}

ol.organizational-chart>li>ol>li>div {
    background-color: #01355E;
    color: #fff;
    border: 3px solid #c8c4c4;
}

/*** TERTIARY ***/
ol.organizational-chart>li>ol>li>ol>li>div {
    background-color: #2DBFEF;
    color: #fff;
    border: 3px solid #c8c4c4;
}

/*** QUATERNARY ***/
ol.organizational-chart>li>ol>li>ol>li>ol>li>div {
    background-color: #0079B1;
    color: #fff;
    border: 3px solid #c8c4c4;
}

/*** QUINARY ***/
ol.organizational-chart>li>ol>li>ol>li>ol>li>ol>li>div {
    background-color: #EFEFEF;
    color: #fff;
    border: 3px solid #c8c4c4;
}

/*** QUINARY ***/
ol.organizational-chart>li>ol>li>ol>li>ol>li>ol>li>ol>li>div {
    background-color: #230033ba;
    color: #fff;
    border: 3px solid #c8c4c4;
}

/*** MEDIA QUERIES ***/
@media only screen and (min-width: 64em) {
    ol.organizational-chart {
        margin-left: -1em;
        margin-right: -1em;
    }

    /* PRIMARY */
    ol.organizational-chart>li>div {
        display: inline-block;
        float: none;
        margin: 0 1em 1em 1em;
        vertical-align: bottom;
    }

    ol.organizational-chart>li>div:only-of-type {
        margin-bottom: 0;
        /*width: calc((100% / 1) - 2em - 4px); modificato */
    }

    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(2),
    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(2)~div {
        width: calc((100% / 2) - 2em - 4px);
    }

    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(3),
    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(3)~div {
        width: calc((100% / 3) - 2em - 4px);
    }

    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(4),
    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(4)~div {
        width: calc((100% / 4) - 2em - 4px);
    }

    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(5),
    ol.organizational-chart>li>div:first-of-type:nth-last-of-type(5)~div {
        width: calc((100% / 5) - 2em - 4px);
    }

    ol.organizational-chart>li>div:before,
    ol.organizational-chart>li>div:after {
        bottom: -1em !important;
        top: inherit !important;
    }

    ol.organizational-chart>li>div:before {
        height: 1em !important;
        left: 50% !important;
        width: 3px !important;
    }

    ol.organizational-chart>li>div:only-of-type:after {
        display: none;
    }

    ol.organizational-chart>li>div:first-of-type:not(:only-of-type):after,
    ol.organizational-chart>li>div:last-of-type:not(:only-of-type):after {
        bottom: -1em;
        height: 3px;
        width: calc(50% + 1em + 3px);
    }

    ol.organizational-chart>li>div:first-of-type:not(:only-of-type):after {
        left: calc(50% + 3px);
    }

    ol.organizational-chart>li>div:last-of-type:not(:only-of-type):after {
        left: calc(-1em - 3px);
    }

    ol.organizational-chart>li>div+div:not(:last-of-type):after {
        height: 3px;
        left: -2em;
        width: calc(100% + 4em);
    }

    /* SECONDARY */
    ol.organizational-chart>li>ol {
        display: flex;
        flex-wrap: nowrap;
    }

    ol.organizational-chart>li>ol:before,
    ol.organizational-chart>li>ol>li:before {
        height: 1em !important;
        left: 50% !important;
        top: 0 !important;
        width: 3px !important;
    }

    ol.organizational-chart>li>ol:after {
        display: none;
    }

    ol.organizational-chart>li>ol>li {
        flex-grow: 1;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 1em;
    }

    ol.organizational-chart>li>ol>li:only-of-type {
        padding-top: 0;
    }

    ol.organizational-chart>li>ol>li:only-of-type:before,
    ol.organizational-chart>li>ol>li:only-of-type:after {
        display: none;
    }

    ol.organizational-chart>li>ol>li:first-of-type:not(:only-of-type):after,
    ol.organizational-chart>li>ol>li:last-of-type:not(:only-of-type):after {
        height: 3px;
        top: 0;
        width: 50%;
    }

    ol.organizational-chart>li>ol>li:first-of-type:not(:only-of-type):after {
        left: 50%;
    }

    ol.organizational-chart>li>ol>li:last-of-type:not(:only-of-type):after {
        left: 0;
    }

    ol.organizational-chart>li>ol>li+li:not(:last-of-type):after {
        height: 3px;
        left: 0;
        top: 0;
        width: 100%;
    }
}

.color-white {
    color: #fff;
}

.color-grey {
    color: #666;
}

/*** MEDIA QUERIES ***/
@media only screen and (min-width: 64em) {
    ol.organizational-chart-sempl {
        margin-left: -1em;
        margin-right: -1em;
    }

    /* PRIMARY */
    ol.organizational-chart-sempl>li>div {
        display: inline-block;
        float: none;
        margin: 0 1em 1em 1em;
        vertical-align: bottom;
    }

    ol.organizational-chart-sempl>li>div:only-of-type {
        margin-bottom: 0;
        /*width: calc((100% / 1) - 2em - 4px); modificato */
    }

    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(2),
    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(2)~div {
        width: calc((100% / 2) - 2em - 4px);
    }

    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(3),
    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(3)~div {
        width: calc((100% / 3) - 2em - 4px);
    }

    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(4),
    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(4)~div {
        width: calc((100% / 4) - 2em - 4px);
    }

    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(5),
    ol.organizational-chart-sempl>li>div:first-of-type:nth-last-of-type(5)~div {
        width: calc((100% / 5) - 2em - 4px);
    }

    ol.organizational-chart-sempl>li>div:before,
    ol.organizational-chart-sempl>li>div:after {
        bottom: -1em !important;
        top: inherit !important;
    }

    ol.organizational-chart-sempl>li>div:before {
        height: 1em !important;
        left: 50% !important;
        width: 3px !important;
    }

    ol.organizational-chart-sempl>li>div:only-of-type:after {
        display: none;
    }

    ol.organizational-chart-sempl>li>div:first-of-type:not(:only-of-type):after,
    ol.organizational-chart-sempl>li>div:last-of-type:not(:only-of-type):after {
        bottom: -1em;
        height: 3px;
        width: calc(50% + 1em + 3px);
    }

    ol.organizational-chart-sempl>li>div:first-of-type:not(:only-of-type):after {
        left: calc(50% + 3px);
    }

    ol.organizational-chart-sempl>li>div:last-of-type:not(:only-of-type):after {
        left: calc(-1em - 3px);
    }

    ol.organizational-chart-sempl>li>div+div:not(:last-of-type):after {
        height: 3px;
        left: -2em;
        width: calc(100% + 4em);
    }

    /* SECONDARY */
    ol.organizational-chart-sempl>li>ol {
        display: flex;
        flex-wrap: nowrap;
    }

    ol.organizational-chart-sempl>li>ol:before,
    ol.organizational-chart-sempl>li>ol>li:before {
        height: 1em !important;
        left: 50% !important;
        top: 0 !important;
        width: 3px !important;
    }

    ol.organizational-chart-sempl>li>ol:after {
        display: none;
    }

    ol.organizational-chart-sempl>li>ol>li {
        flex-grow: 1;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 1em;
    }

    ol.organizational-chart-sempl>li>ol>li:only-of-type {
        padding-top: 0;
    }

    ol.organizational-chart-sempl>li>ol>li:only-of-type:before,
    ol.organizational-chart-sempl>li>ol>li:only-of-type:after {
        display: none;
    }

    ol.organizational-chart-sempl>li>ol>li:first-of-type:not(:only-of-type):after,
    ol.organizational-chart-sempl>li>ol>li:last-of-type:not(:only-of-type):after {
        height: 3px;
        top: 0;
        width: 50%;
    }

    ol.organizational-chart-sempl>li>ol>li:first-of-type:not(:only-of-type):after {
        left: 50%;
    }

    ol.organizational-chart-sempl>li>ol>li:last-of-type:not(:only-of-type):after {
        left: 0;
    }

    ol.organizational-chart-sempl>li>ol>li+li:not(:last-of-type):after {
        height: 3px;
        left: 0;
        top: 0;
        width: 100%;
    }
}