.search-component form#searchGeneral.is-working input {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.search-component form#searchGeneral input {
    border-radius: 16px !important;
}

li.live-search-item:hover .res-doc {
    opacity: 1;
}

li.live-search-item .res-doc {
    opacity: 0;
    transition: var(--transition);
}

.form-signin button {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 14px;
    height: 50px;
}

.form-signin .checkbox {
    margin: 24px 0;
}

.form-signin button {
    margin-bottom: 24px;
}

button.tabulati-approve-dip-btn[disabled] {
    opacity: 0.2;
    background: transparent;
    color: var(--black);
}

li.nav-link-default.active a {
    color: var(--primary-orange) !important;
}

.form-signin .heading {
    position: relative;
}

.form-signin a.closedrop {
    height: 32px;
    width: 32px;
    background: var(--black);
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
}

.form-signin a.closedrop img {
    margin: 0 !important;
}

.dropdown-menu.dropdown-form.show {
    max-width: 480px;
    width: 100%;
    padding: 24px;
    right: 0 !important;
    position: absolute;
    border-radius: 8px;
    border: none;
    left: inherit;
    top: 70px;
}

.error {
    margin: 8px 0;
    color: #E62C2C;
    font-size: 16px;
    margin-bottom: 24px;
    margin-top: 0
}

/* search */
.single-search-res-container .uff-title {
    font-size: var(--text-small);
}

.single-search-res-container h6 {
    font-size: var(--text-norm);
    margin-bottom: 4px;
    font-family: var(--font-bold);
}

.width-50 {
    width: 50%;
}

.upper-nav .nav-link {
    padding: 0 !important;
}

.upper-nav {
    justify-content: space-between !important;
}

.single-search-res-container .item span {
    font-size: var(--text-small);
    color: var(--dark-grey);
}

ul#pills-tab.empty {
    display: none;
}

.panel .empty {
    border: 1px dashed var(--medium-grey);
    border-radius: 16px;
}

.live-search-results-container {
    border-left: 1px solid var(--light-grey);
    border-right: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
    overflow-y: auto;
    max-height: 340px;
    background-color: white;
}

.input-submitsearch {
    border: 1px solid var(--light-grey);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 16px;
    background-color: white;
}

.input-submitsearch.rubrica-active-blocked {
    display: none !important;
}

div#deleteModal .modal-dialog {
    top: 10%;
}

.second-btn {
    border: none;
    background-color: transparent;
    text-decoration: underline;
}

.highlight {
    background-color: #F6AF5C;
    color: var(--black) !important;
    font-size: 16px !important;
}

/* Stile del modale */
button.nav-link.temp {
    background: transparent;
    border: none;
}

div#webmailModal iframe,
div#selfPers iframe,
div#richDomicilio iframe,
div#richPasto iframe,
div#richAssunzione iframe {
    width: 100%;
    height: 100%;
}

.btn-outline-success.disabled,
.btn-outline-success:disabled {
    color: var(--primary-orange);
    opacity: 0.3;
}

.table td,
.table th {
    vertical-align: middle !important;
}

.single-search-res-container a {
    color: var(--black);
}

form#searchGeneral input {
    height: 46px;
}

.centralino {
    background-color: var(--yellow);
    padding: 4px;
    display: flex;
    margin-bottom: 16px;
}

.centralino a {
    color: var(--black);
}

.centralino p {
    margin-bottom: 4px;
}

div#search-results {
    border: 1px solid var(--dark-grey);
    border-radius: 5px;
}

a#dropdownMenuLink {
    color: var(--black);
}

a#dropdownMenuLink.show,
a#dropdownMenuLink:hover,
a#dropdownMenuLink.active {
    color: #f18c26;
}

div#search-results {
    width: 100%;
}

.search-results.empty {
    display: none;
    /* Or any other styling you prefer */
}

/* input */
.title-input input,
.slug-input input {
    height: 40px;
    width: 80%;
    border-width: 1px;
}

.excerpt-input textarea {
    width: 80%;
    min-height: 80px;
}

input,
.excerpt-input textarea,
.body-input textarea,
.category-news-input select {
    border-radius: 8px;
    padding: 8px;
}

textarea#slug {
    min-height: 60px;
}

.body-input textarea {
    width: 80%;
    min-height: 450px;
}

.small-body-input {
    min-height: 80px !important;
}

.title-input,
.excerpt-input,
.slug-input,
.image-input,
.category-news-input {
    margin-bottom: 24px;
}

.image-input input {
    border-radius: 0;
}

form button {
    background: var(--black);
    padding: 8px 16px;
    color: white;
    font-size: var(--text-norm);
    border-radius: 12px;
    border: 1px solid var(--black);
    transition: var(--transition);
}

form button:hover {
    background: transparent;
    color: var(--black);
}

.border-soft-orange {
    border-color: var(--soft-orange);
    outline: 1px solid;
}

.search-res-tab .nav-pills .nav-link {
    color: var(--black);
}

.custom-modal-backdrop {
    z-index: 1050 !important;
    /* or any number that works for you */
}

nav#nav.sticky-top {
    top: 8px;
    position: sticky;
}

.custom-modal {
    z-index: 1051 !important;
    /* make sure it's higher than the backdrop */
    overflow-y: hidden !important;
}

.custom-modal .modal-header,
.custom-modal .modal-content {
    background: transparent;
    border: none;
}

.custom-modal .modal-body {
    background: white;
    padding: 16px;
    border-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.modal-open .modal {
    background: #0000008f;
}

.custom-modal .modal-xl {
    max-width: 100vw;
    height: 100%;
    margin-top: 0px !important;
    top: 0;
    animation: slide-in .2s ease-in-out forwards;
    margin: 0;
}

.custom-modal .modal-dialog {
    transform: none !important;
}

@keyframes slide-in {
    0% {
        top: 50px;
    }

    100% {
        top: 0;
    }
}

button.btn-close.close-ext-modal {
    background-color: white;
    opacity: 1;
    border-radius: 50%;
    position: relative;
}

button.btn-close.close-ext-modal::after {
    position: absolute;
    width: 32px;
    height: 32px;
    contet: '';
    display: block;
    background: url('/images/close.svg');
}

.custom-modal .modal-dialog.modal-xl .modal-content {
    height: 100%;
}

.custom-navbar {
    z-index: 1049 !important;
    /* make sure it's lower than the backdrop */
}

form#searchGeneral div#pills-tabContent {
    position: static;
    width: 100%;
    background: white;
}

.tab-pane {
    width: 100%;
}

div#pills-tabContent ul {
    list-style-type: none;
    padding: 0;
    gap: 32px;
    display: flex;
    flex-direction: column;
}

.res-doc {
    color: var(--black);
}

img.ico-place {
    background: white;
    border-radius: 2px;
    padding: 4px 8px;
    height: fit-content;
}

li.live-search-item,
.dip-elenco-single {
    border-radius: 8px;
    background: transparent;
    transition: var(--transition);
    padding: 8px;
    border: 1px solid var(--medium-grey);
}

div.error-keyword p {
    margin: 0;
}

div.error-keyword {
    position: absolute;
    background: white;
    width: 100%;
    top: 46px;
    display: flex;
    border-bottom-right-radius: 8px;
    padding: 16px 8px;
    align-items: center;
    border: 1px solid #ced4da;
    border-bottom-left-radius: 8px;
    border-top: 0;
}

li.live-search-item:hover,
.dip-elenco-single:hover {
    background: var(--light-grey);
}

ul.document-list li.live-search-item {
    margin: 0 16px;
}

.nav.nav-pills {
    border-bottom: 1px solid var(--light-grey);
    border-right: 1px solid var(--light-grey);
    border-left: 1px solid var(--light-grey);
}

div#userNavModular.active div#time-sheet,
div#userNavModular.active hr {
    display: none !important;
}

div#userContentModular {
    width: 70%;
    transition: var(--transition);
}

div#userContentModular.resized {
    width: 80%;
}

#back-btn-desk,
#back-btn-mobi {
    transition: var(--transition);
    border: none;
    background: transparent;
}

#back-btn-desk.active,
#back-btn-mobi.active {
    transform: rotate(180deg);
}

.form-check-input:checked {
    background-color: var(--black);
    border-color: var(--black);
}

/* admin side bar  style */

.mobi-office-list {
    max-height: 50vh;
    overflow-y: auto;
}

a#dropdownAvatarLink img {
    border-radius: 50%;
}

a#dropdownAvatarLink.show img,
a#dropdownAvatarLink:hover img {
    outline: 2px solid black;
}

.admin-content .card {
    border: 1px solid var(--yellow);
}

.status p,
td.status div {
    padding: 4px 8px;
}

.status p {
    color: var(--succes-green);
    background-color: rgba(0, 128, 0, 0.2);
    text-align: center;
    border-radius: 70px;
    width: fit-content;
    margin-bottom: 0;
}

h5 {
    font-size: 21px;
}

@keyframes loadpage {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#offcanvasAdmin {
    width: 400px;
}

/* stile paginazione */
.pagination .barra-numerata a,
.pagination .barra-numerata span span {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 8px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    padding-top: 10px !important;
}

.pagination .barra-numerata span span,
.pagination .barra-numerata a:hover,
.navig-button-pag a:hover {
    background-color: var(--black) !important;
    color: white !important;
}

.navig-button-pag a,
.navig-button-pag span {
    border: 1px solid var(--black);
    border-radius: 25px;
    transition: var(--transition);
}

/* stile modale search*/
.modal-search .modal-dialog {
    max-width: 80%;
}

/* stile pagination */
.pagination {
    margin-top: 30px;
}

.pagination nav {
    width: 100%;
}

.pagination svg {
    width: 20px;
}

.btn-outline-success {
    color: #f18c26;
    border-color: #f18c26;
    transition: 0.2s;
}

.btn-outline-success:hover {
    color: #fff;
    background-color: #f18c26;
    border-color: #f18c26;
}

.form-control:focus {
    border-color: #fbdeb9;
    box-shadow: 0 0 0 0.25rem rgba(242, 226, 74, 0.25);
}

select#id_ufficio {
    min-height: 20px;
}

.tab-content>.tab-pane.old-pdf,
.tab-content>.tab-pane.new-pdf {
    display: none !important;
}

.tab-content>.tab-pane.old-pdf.show,
.tab-content>.tab-pane.new-pdf.show {
    display: block !important;
}

.justify-content-center {
    justify-content: center;
}

.txt-center {
    text-align: center;
}

.txt-small {
    font-size: 14px;
}

.txt-bigger {
    font-size: 21px;
}

.txt-regular {
    font-family: "thesansb5_plain";
}

.txt-bold {
    font-family: "thesansb7_bold";
}

.flex-col {
    display: flex;
    flex-direction: column;
}

body.login,
body.register,
body.forgotten-psw {
    background: #FBDEB9;
}

.bg-img-center-cover {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

body.login,
html.login {
    height: 100%;
    overflow: hidden;
    /* Hide overflow to ensure large rotating image doesn't cause scrollbars */
}

.login>div {
    width: 100%;
    height: 100%;
    position: relative;
}

a.office-divider-result:hover {
    color: var(--primary-orange);
}

.btn-primary {
    background-color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    transition: var(--transition);
    padding: 12px;
}

.btn-primary:hover {
    color: var(--primary-orange);
    background-color: transparent;
    border: 1px solid var(--primary-orange);
}

.bottom-nav,
.upper-nav {
    background: white;
}

h1 {
    font-size: 27px;
}

.bg-img-center-cover {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: var(--soft-orange);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(253, 157, 13, 0.25);
}

/* carosello automatico service slider */
.service-wrapper {
    background-color: #fbdeb9;
    position: relative;
    height: 30px;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
}

.service-slider {
    background-color: #fbdeb9;
    display: flex;
    align-items: center;
    /*  position: absolute; */
    white-space: nowrap;
    left: 100%;
}

.service-slider {
    animation: scrollingtext 35s linear -1s infinite forwards;
}

@keyframes scrollingtext {
    0% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.service-slider p {
    margin: 0 20px;
    font-size: 14px;
    display: inline-block;
}

.circ-sep {
    height: 8px;
    width: 8px;
    background-color: #f18c26;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

@keyframes infiniteSlider {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes infiniteSliderDue {
    0% {
        left: 200%;
    }

    100% {
        left: 0;
    }
}

/* CORPO */
#nav .upper-nav {
    padding: 8px 8px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
    z-index: 1;
}

.image-input .post-img {
    width: 150px;
    height: 150px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Error and success message style */
p.success-message {
    margin: 0;
    background: var(--succes-green);
    border-radius: 50px;
    padding: 8px 16px;
    width: fit-content;
    color: white;
    animation: slideFadeUpDue 0.2s forwards;
    position: fixed;
    bottom: 60px;
    right: 32px;
    transition: 0.5s ease-in-out;
}

p.success-message.leaving {
    right: -150%;
}

@keyframes slideOutRight {
    0% {
        transform: translateX(32px);
    }

    100% {
        transform: translateX(-162px);
    }
}

@keyframes slideFadeUp {
    0% {
        transform: translate3d(0, 7px, 0);
        opacity: 0;
    }

    100% {
        transform: translate3d(0, 29px, 0);
        opacity: 1;
    }
}

.mobi-office-list a {
    white-space: normal;
}

a#dropdownMenuLink,
button.nav-link.temp {
    padding-right: 12px !important;
}

#nav .upper-nav .search-btn img,
#nav .upper-nav .login-btn img {
    margin-right: 8px;
}

#nav .upper-nav .search-btn:hover button {
    color: #f18c26;
}

div#offcanvasNavbar {
    height: fit-content;
    border-radius: 10px;
    top: 74px !important;
    width: calc(100% - 32px);
    overflow-y: scroll;
    max-height: 80vh;
    overflow-x: hidden;
}

.mobi-office-list {
    max-height: 50vh;
    overflow-y: auto;
}

div#offcanvasNavbar button.btn-close {
    margin: 15px;
    padding: 5px;
    border-radius: 50%;
    border: 1px solid #fbdeb9;
    opacity: 1;
}

.nav-logo {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto !important;
    width: fit-content;
}

section#corsi .card {
    border: none;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding-bottom: 20px;
    box-shadow: none !important;
}

section#corsi .card .request-link {
    border: 1px solid #2a2a2a;
    background-color: transparent;
    color: #2a2a2a;
    text-decoration: none;
    display: flex;
    height: auto;
    border-radius: 8px;
    padding: 8px;
    transition: 0.2s;
    width: 100%;
}

section#corsi .card .request-link:hover {
    color: white;
    background-color: #2a2a2a;
}

section#corsi .card .request-link div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section#corsi .card img.card-img {
    height: 180px;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

section#corsi .col-tutorial .card {
    background: url("images/bg-tutorial.jpg");
}

section#corsi .col-corsi .card {
    background: url("images/bg-corsi.jpg");
}

.hero.offi {
    padding-top: 40px !important;
}

.featured-office-info div:nth-child(2) {
    margin: 0 24px !important;
}

.col-dipedenti .col-12.col-lg-6 {
    margin-bottom: 16px !important;
    padding-right: 12px;
    padding-left: 12px;
}

.col-dipedenti .col-12.col-lg-6 .card {
    margin-bottom: 0;
}

.cta {
    color: white;
    text-decoration: none;
    background-color: #2a2a2a;
    transition: 0.2s;
    padding: 8px;
    border: 1px solid #2a2a2a;
    display: flex;
    width: fit-content;
    border-radius: 8px;
    height: fit-content;
}

.cta:hover {
    color: #2a2a2a;
    background-color: transparent;
}

/* stile user page */
body.area-privata {
    background-color: var(--light-grey);
}

#time-sheet p {
    line-height: 1em;
}

div#user-navigation .navbar-nav.mobile li {
    background: var(--light-grey);
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 12px;
}

.log-out a {
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
}

.log-out a:hover {
    padding: 0px 8px;
}

/* stile teaser dashboard */

table.table {
    margin-bottom: 0;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border-color: var(--medium-grey) !important;
}

thead tr {
    background-color: var(--light-grey);
}

thead th {
    color: var(--dark-grey);
    /*  font-family: var(--font-bold); */
    font-size: var(--text-small);
}

.content h3 span {
    color: var(--dark-grey);
}

td.status div {
    background-color: var(--soft-orange);
    color: var(--primary-orange);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    width: fit-content;
}

.tabulato th {
    width: 10%;
}

th.col-one {
    width: 18%;
}

.attivita tbody tr:nth-child(1) {
    background-color: var(--soft-orange);
}

.attivita tbody tr:nth-child(1) th {
    display: flex;
}

.attivita tbody tr:nth-child(1) th::before {
    background: url('images/ico-warning.svg');
    content: '';
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    display: block;
    margin-right: 4px;
}

.dipendenti-coinvolti span {
    background-color: var(--light-grey);
    color: var(--black);
    text-transform: uppercase;
    border-radius: 50%;
    margin: 2px;
    padding: 2px;
}

.cta-reverse {
    text-decoration: none;
    color: var(--black);
    border: 1px solid var(--black);
    border-radius: 8px;
    height: fit-content;
    padding: 6px;
    transition: var(--transition);
    font-size: 14px;
}

.cta-reverse:hover {
    background: var(--black);
    color: white
}

.system-message {
    margin: 20px;
}

/* back button style */
#back-btn-desk {
    right: -20px;
    top: 44px;
    border: none;
    background: transparent;
}

#back-btn-desk div {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: 0px 0px 8px 0px #2A2A2A1F;
    background-color: white;
}

a#back-btn-mobi {
    text-decoration: none !important;
    color: var(--black);
}

#back-btn-mobi img {
    rotate: -180deg;
}

#back-btn-mobi p {
    color: var(--black);
    text-decoration: none !important;
    margin-bottom: 0;
}


.user-page-mobi-nav {
    transition: top 0.3s ease-out;
}

.user-page-mobi-nav .dropdown-toggle {
    background-color: var(--light-grey);
    border: none;
    border-radius: 8px;
    color: var(--black);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.user-page-mobi-nav ul.dropdown-menu.show {
    width: 100%;
    top: 20px !important;
    border: none;
    border-radius: 8px;
}

.user-page-mobi-nav ul.dropdown-menu.show a {
    margin: 8px 0;
    background: transparent;
    color: var(--black);
}

.user-page-mobi-nav ul.dropdown-menu.show a.active {
    font-family: var(--font-bold);
}

.fixed-below-navbar {
    position: fixed;
    top: 66px;
    width: calc(100% - 32px);
    z-index: 99;
    margin-top: 8px;
}

.user-page-mobi-nav.fixed-below-navbar .dropdown-toggle {
    padding-top: 8px;
    padding-bottom: 8px;
}

.user-page-mobi-nav.fixed-below-navbar ul.dropdown-menu.show {
    top: 0 !important;
}

.user-page-mobi-nav.fixed-below-navbar ul.dropdown-menu.show a {
    margin: 0;
}

li.nav-item a.active {
    color: var(--primary-orange);
}

div#search.modal-search .modal-header,
div#search.modal-search .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

div#search.modal-search .modal-dialog {
    background-color: transparent;
    top: 48px;
    max-width: 1376px;
}

div#search.modal-search button.btn-close {
    right: 8px;
    position: absolute;
    background-color: white;
    border-radius: 50%;
    color: var(--black);
    opacity: 1;
    box-shadow: 0px 0px 8px 0px rgba(42, 42, 42, 0.1215686275);
    height: 16px;
    width: 16px;
    font-size: 14px;
    padding: 8px;
    z-index: 99999;
    top: 8px;
}

div#search.modal-search .modal-body {
    position: relative;
    padding: 0;
}

.link-added,
.link-added:hover {
    color: var(--black);
}

.search-index p.istruzioni-search {
    margin-bottom: 0;
}

.norm,
.norm:hover {
    color: var(--black);
}

.ufficio-show-container h1 {
    margin-bottom: 40px;
}

.table thead th {
    border-bottom: 1px solid #dee2e6;
    border-top: 1px !important;
}

/* breakpoint */
/* X-Small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */
@media (max-width: 575px) {
    .right-upper-nav a.button-cta.secondary {
        display: none;
    }

    .truncate-multiline {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* Limit to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .col-search::after {
        content: '';
        display: block;
        height: 1px;
        width: 100%;
        background: var(--light-grey);
        margin-top: 16px;
    }

    p#date-uno {
        margin-top: 0 !important;
    }

    div.antialiased.area-privata {
        margin-top: 24px;
    }

    .search-index #query {
        margin-bottom: 16px;
    }

    .width-80-100,
    .width-20-100 {
        width: 100%;
    }

    h2 {
        font-size: 27px;
    }

    .col-search ul#pills-tab li {
        width: 50%;
    }

    .col-search ul#pills-tab li button {
        width: 100%;
    }

    .col-search ul#pills-tab {
        justify-content: center;
    }

    .input-submitsearch.d-flex.justify-content-end button {
        width: 100% !important;
        justify-content: center;
        height: 48px;
        align-items: center;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }

    form#searchGeneral div#pills-tabContent {
        top: 120px;
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
        border: none;
    }

    .input-submitsearch.d-flex.justify-content-end {
        padding: 0;
        border: none;
    }

    form#searchGeneral div#pills-tabContent {
        top: 120px;
    }

    .dip-elenco-single .width-50 {
        width: 100%;
    }

    ul.document-list li.live-search-item {
        margin: 0;
    }

    .hero.offi {
        padding-top: 0px !important;
    }

    div#accordionNeoAssunti h4 button {
        border-radius: 16px !important;
        background: transparent;
        padding: 24px 16px;
    }

    div#accordionNeoAssunti h4 button {
        font-size: 21px;
    }

    div#accordionNeoAssunti .accordion-button:not(.collapsed) {
        box-shadow: none;
        color: var(--black);
    }

    div#accordionNeoAssunti a.request-link {
        width: 100%;
        margin: 0 !important;
    }

    div#accordionNeoAssunti .accordion-item {
        border-radius: 16px;
        border: none;
    }

    div#accordionNeoAssunti .accordion-button::after {
        background-color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-position: center;
    }

    div#accordionNeoAssunti .col-corsi .request-links-container {
        background: var(--black);
        width: 100%;
        padding: 0 !important;
        border-radius: 8px;
    }

    div#accordionNeoAssunti .col-corsi .request-link {
        background: transparent;
        display: block;
    }

    div#accordionNeoAssunti .col-corsi .request-links-container a div span {
        color: white;
    }

    div#accordionNeoAssunti .col-corsi .request-links-container a div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-height: 28px;
    }

    div#accordionNeoAssunti h4 {
        border-radius: 16px !important;
    }

    .ufficio-show-container .col-12 {
        padding: 0;
    }

    .featured-office-info {
        display: flex;
        /* This will make all child divs align horizontally */
        overflow-x: auto;
        /* This will allow the container to scroll horizontally */
    }

    .featured-office-info>div {
        max-width: 200px;
        min-width: 200px !important;
        white-space: nowrap;
        flex: 0 0 auto;
        /* This will prevent the divs from shrinking */
    }

    .ufficio-show-container .cta {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 10px 16px;
    }

    .animated-bg {
        width: 400vw;
    }

    .service-slider {
        animation-duration: 35s;
    }

    .custom-col-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    div#D3tutorial video {
        width: 100% !Important;
    }

    div#user-navigation li.nav-item {
        background: var(--light-grey);
        margin-bottom: 0;
        padding: 0;
        border-radius: 8px;
    }

    div#user-navigation li.nav-item.active {
        padding: 0;
        border: 1px solid var(--black);
    }

    div#user-navigation a.nav-link {
        padding: 16px !important;
    }

    div#userContentModular {
        width: 100%;
        padding: 0;
    }

    .table thead th {
        white-space: nowrap;
    }

    button#back-btn-mobi {
        padding: 0;
        margin-top: 0 !important;
    }

    .area-privata .log-out {
        margin-top: 0 !important;
        padding-top: 8px !important;
    }

    .area-privata .log-out button {
        background-color: transparent;
        border: none;
        color: var(--black);
        padding-left: 8px;
    }

    body.area-privata {
        background-color: white;
    }

    .row ul.dropdown-menu.show {
        box-shadow: 0px 1px 1rem rgba(0, 0, 0, .175);
        !important;
        border: none;
        top: 20px !important;
        display: flex;
        flex-direction: column;
        border-radius: 8px;
    }

    .ufficio-show-container h1 {
        margin-bottom: 16px;
    }

    form#searchGeneral input {
        width: 75%;
    }

    form#searchGeneral button {
        width: 22%;
    }

    .modal-search .modal-dialog {
        max-width: 100%;
    }

    #nav {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .bottom-nav {
        display: none;
    }

    .upper-nav {
        border-radius: 0;
    }

    .featured-office-info {
        overflow-x: scroll;
        flex-wrap: nowrap;
        justify-content: start;
        padding-bottom: 20px;
        margin-left: 0.15rem;
        width: 100%;
    }

    .featured-office-info div:nth-child(2) {
        margin: 0 16px 0 0 !important;
    }

    .featured-office-info div {
        margin-right: 16px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    .animated-bg {
        width: 400vw;
    }

    #nav .logo-responsive {
        margin-left: 20px;
    }

    #footer .footer-content .border-bt {
        border-bottom: 0;
        margin-bottom: 0;
    }

    .nav-logo {
        position: static;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    div#search.modal-search .modal-dialog {
        max-width: 704px;
    }

    #nav .upper-nav {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    h1 {
        font-size: 42px;
    }

    .nav-logo {
        position: static;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .nav-logo {
        position: absolute;
    }

    div#search.modal-search .modal-dialog {
        max-width: 928px;
    }

    #off-canvas-component {
        display: none;
    }

    .animated-bg {
        width: 200vw;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    #off-canvas-component {
        display: none;
    }

    div#search.modal-search .modal-dialog {
        max-width: 1136px;
    }

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

    #off-canvas-component {
        display: none;
    }

    div#search.modal-search .modal-dialog {
        max-width: 1376px;
    }

    .animated-bg {
        width: 120vw;
    }
}