:root {
    --padding-header: 3rem;
}

.contenitore-ricerca-taduoo {
    width: 100%;
    position: relative;
    display: flex;
    height: 100%;
    padding: 13px 0;
}

.topnav-ricerca-globale {
    background: #f0f3f6;
    border: 0;
    width: 100%;
    padding: 5px 13px;
    font-size: 13px;
    height: 100%;
    z-index: 999;
}

.companies-topnav-ricerca-globale {
    background: #f0f3f6 !important;
    border: 0 !important;
    padding-left: 5px;
    box-shadow: none !important;
    border-radius: 0 5px 5px 0 !important;
    width: 100%;
    padding: 5px;
    font-size: 15px;
    height: 100%;
    z-index: 998;
}

.select-topnav-ricerca-globale{
 border: 0;
 border-radius: 5px 0 0 5px;

}

.span-topnav-ricerca-globale {
    /* background: #f0f3f6;
    color: gray; */
    background: var(--colore-celeste-sbiadito-taduoo);
    color: var(--colore-blu-taduoo);
    border: 0;
    border-radius: 0 3px 3px 0;
    padding: 5px 10px;
    font-size: 15px;
    min-height: 100%;
    width: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: .3s;
    cursor: pointer;
}

.span-topnav-ricerca-globale:hover {
    color: white;
    background: var(--colore-blu-taduoo);
}

.span-companies-ricerca-globale{
    background: #f0f3f6;
    border: 0;
    border-radius: 5px 0 0 5px;
    padding: 5px 5px 5px 10px;
    font-size: 15px;
    min-height: 100%;
    color: gray;
    width: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 998;
}

.clear-company-search {
    display: none;
    color: black !important;
    z-index: 999;

}

.topnav-ricerca-globale:focus,
.topnav-ricerca-globale:focus-visible {
    outline: none;
    border: 3px solid #fdd92f;
    border-right: 0;
    padding-left: 10px;
    /* border-bottom: 0; */
    /* border-bottom-left-radius: 0 !important; */
}

.topnav-ricerca-globale:focus + #dropdown-sellers,
.topnav-ricerca-globale:focus-visible + #dropdown-sellers,
.contenitore-ricerca-taduoo:has(.topnav-ricerca-globale:focus) + .contenitore-globale-ricerca-sellers,
.contenitore-ricerca-taduoo:has(.topnav-ricerca-globale:focus-visible) + .contenitore-globale-ricerca-sellers {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.menu-tecnologia {
    font-size: 12px;
    margin: 10px 0;
}

.nome-menu-tecnologia {
    color: black;
}

.nome-menu-tecnologia.tdo-green {
    color: var(--colore-azzurro-taduoo);
}

.menu-tecnologia:hover .nome-menu-tecnologia {
    text-decoration: underline;
}

.topnav .margined {
    margin-left: calc((var(--bs-gutter-x) * .5) + 5%);
}

.menu {
    background: transparent;
}

.taduoo-shadow {
    box-shadow: 0 2px 6px 0 rgba(0,0,0,.12), inset 0 -1px 0 0 #dadce0;
}

#dropdown-sellers {
    left: 0;
    top: calc(100% - 13px);
    display: none;
    border: 1px solid lightgray;
    position: absolute;
    width: calc(100% - 38px);
    background-color: white;
    border-radius: 5px;
    z-index: 999;
}

.logo-dropdown {
    top: 0% !important;
    transform: translate(0, 0%) !important;
}

.img-slide {
    max-height: 70%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.swiper-panoramica {
    height: 82.5%;
}

.main-container {
    min-height: calc(100dvh - 25dvh);
}

.overlay-taduoo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    display: none;
}

.overlay-taduoo-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    display: none;
}

body:has(#input-ricerca-sellers-dropdown:focus) .overlay-taduoo-menu {
    display: unset;
}

.overlay-taduoo-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.img-logo-taduoo {
    position: relative;
    left: 0;
    /* width: 10vw; */
    cursor: pointer;
    height: 25px;
    /* margin-right: 30px; */
}

.img-logo-taduoo.home {
    position: absolute;
    left: calc((((100vw - var(--max-width-sticky-topnav)) / 2) + var(--padding-header)) / 2);
    width: auto;
    cursor: pointer;
    height: 25px;
    transform: translate(-50%, 50%);
}

/* .topnav-login .img-logo-taduoo {
    width: 6vw;;
} */

.img-logo-taduoo.logo-logged {
    width: 66%;
}

.sottotitolo-slide-panoramica {
    font-size: 20px !important;
    font-weight: 300;
}

.container-footer a {
    color: darkblue !important;
    text-decoration: none;
}

.container-footer a:hover {
    text-decoration: underline;
}

.container-footer label {
    font-weight: bold !important;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    :root {
        --padding-header: 6rem;
    }
}