@-webkit-keyframes fadeinform {
    0% {
        opacity: 0;
    }
    70% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    background: #F9F9F9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-family: 'Segoe UI', 'Helvetica Neue', 'Open Sans', sans-serif;
    /* font-family: 'Montserrat', Helvetica, sans-serif; */
}

.btn-primary.btn-outline-primary,
.btn-success.btn-outline-success,
.btn-secondary.btn-outline-secondary,
.btn-warning.btn-outline-warning,
.btn-danger.btn-outline-danger {
    --bs-btn-bg: none;
}

#saved-search-toggle, #search-saveToPrefs {
    --bs-btn-bg: none;
    --bs-btn-color: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-gradient: none;
}

#appcontainer {
    flex-direction: row !important;
    padding-top: 0;
}

#appcontainer > .container-fluid {
    flex: 1 1 100%;
    margin: 0 !important;
    min-height: 100vh;
}

header {
    background-color: #202B46;
    color: white;
    flex-shrink: 4;
    min-width: 285px;
}

header a {
    color: #ffffff;
}

header .navbar-collapse {
    flex-direction: column;
    width: 100%;
}

header .navbar > .container-fluid {
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
}

.homecontainer {
    display: flex;
    flex: 1 1 100%;
    min-height: 100%;
    background-image: url("/files/background/background-search-light.webp");
}

.azienda-card.card {
    min-height: 350px;
}

.homecontainer .main {
    flex: 1 1 100%;
}

.homecontainer .right-sidebar {
    background-color: #F8F8F8;
    width: 285px;
    min-width: 285px;
    border-left: 1px solid rgba(0, 0, 0, .175);
}

.bottom-menu {
    width: 100%;
    color: white;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    align-items: stretch;
}

.bottom-menu .btn {
    text-decoration: none;
}

.bottom-menu .actionItemContainer .zmdi {
    padding-right: 5px;
}

.bottom-menu .navbar-nav {
    justify-content: space-between;
}

.bottom-menu:empty {
    display: none;
    visibility: hidden;
}

.bottom-menu .zmdi {
    color: white;
}

.bottom-menu ul {
    display: flex;
    flex-direction: column !important;
    justify-content: center;
}

.bottom-menu .btn {
    color: white !important;
    font-size: 14px;
    border-radius: 0;
    text-align: left;
    padding: 6px 12px 6px 0px;
}

.bottom-menu .btn:hover {
    background: white !important;
    color: #202B46 !important;
}

.bottom-menu .nav-item a {
    width: 100%;
    text-align: left;
}

.bottom-menu .actionItemContainer {
    margin-left: 0px;
}

.bottom-menu .navbar-nav {
    order: 4;
}

#footer-menu {
    /*border-top: 1px solid #ffffff;*/
    border-bottom: 1px solid #ffffff;
}

#footer-menu .navbar-nav {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}

#footer-menu li{
    width: 100%;
}

#footer-menu a {
    text-decoration: underline;
}

#footer-menu a:hover {
    text-decoration: none;
}

#footer-menu .navbar-nav .btn {
    color: white !important;
    font-size: 14px;
    padding: 5px;
    width: 100%;
    text-align: left;
    border-radius: 0;
}

#footer-menu .navbar-nav .btn:hover {
    background: white !important;
    color: #202B46 !important;
}

.actionItemContainer {
    margin-left: 3px;
    margin-right: 3px;
}

.card-deck {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.offro .card-header {
    background-color: #8ACEDC;
}

.cerco .card-header {
    background-color: #e7cde7;
}

#ServiziOfferti {
    height: 250px;
}

#OrarioApertura {
    height: 60px;
    padding-top: 5px;
}

.form-floating > label {
    padding: 0;
    padding-left: 8px;
    padding-top: 3px;
}

.datatable-container .row {
    padding-top: 3px;
    padding-bottom: 3px;
}

.btn-transparent:hover .zmdi {
    color: #d3d4d5;
}

.btn-xs {
    padding: 2px 5px 2px 5px;
    font-size: 11px;
}

.mainsearch .form-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#login_menu label {
    color: var(--bs-body-color);
}

#login_menu .rememberme {
    margin-bottom: 20px;
}

#login_menu .rememberme label {
    color: #ffffff;
}

#login_menu {
    margin-bottom: 30px;
}

.loginBox {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 400px;
    margin: auto;

}

.loginBox > form {
    width: 100%;
}

.loginBox > * {
    background-color: rgba(32, 43, 70, 0.7);
    padding: 20px;
    border-radius: 6px;
    color: #ffffff;
    margin-bottom: 30px;
    /*  -webkit-animation:fadeinform 6s;*/
}

.loginBox a {
    color: #ffffff;
}

.loginBox .rememberme {
    margin-bottom: 20px;
}

.loginBox .form-floating > label {
    color: #212529;
    color: var(--bs-body-color);
}

.homesearch {
    flex: 1 1 100%;
}

.homesearch > h3 {
    text-align: center;
    width: 100%;
    font-weight: bold;
    margin: 100px;
    font-size: 30px;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 6px;
    background: #fddddd;
    padding: 10px;
}

.homesearch .card {
    flex: 1 1 20%;
    margin: 10px;
    max-width: calc(25% - 20px);
}

.homesearch .card-body {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.homesearch:empty:before {
    content: "Inserisci i parametri di ricerca e clicca su cerca.";
    font-weight: bold;
    text-align: center;
    margin: 100px !important;
    font-size: 30px;
    border: 1px solid rgba(0, 0, 0, .175);
    border-radius: 6px;
    background: #fff;
    padding: 10px;
}

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

.homesearch .datatable-header-container {
    width: 100%;
}

.homesearch .pagination-with-numresults > .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.homesearch .pagination-with-numresults .result-number-select {
    flex: 1 0;
    max-width: 300px;
}

.homesearch .pagination-with-numresults .result-pagination {
    display: flex;
    flex-direction: row-reverse;
}

h3.footer {
    font-size: 12px;
}

.footer_small {
    font-size: 11px;
}

.mylogo .p-2.media-body, .mylogo small.form-text.text-muted {
    display: none;
}

.mylogo .p-2.media-right {
    position: absolute;
    top: 0;
    right: 0;
}

.datatable-container {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: white;
    padding: 15px;
}

.datatable-container > .row:nth-child(2n) {
    background-color: rgb(216 228 240);
}

.footer_scheda.row {
    position: absolute;
    bottom: -47px;
    font-size: 12px;
    color: #565656;
}

.small .zmdi, .modal .zmdi {
    padding-right: 5px;
}

.mainsearch .dropdown-item .btn {
    width: 25px;
    height: 25px;
    padding: 0 !important;
    margin-left: 3px;
}

.mainsearch .dropdown-item {
    display: flex;
    align-items: center;
}

.mainsearch .advanced-search-toolbar {
    text-align: center;
}

.modal-body a {
    text-decoration: none;
}

#importXlsBtn, #exportXlsBtn {
    margin-right: 2px;
    margin-left: 2px;
}

.datatable-header .form-control {
    min-height: auto !important;
    height: 2.35em;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
}

.datatable-header .form-floating > .form-control:not(:placeholder-shown) ~ label:after {
    background-color: transparent !important;
}

h6.templateLabel {
    font-weight: bold;
}

h3.section-title {
    font-weight: bold;
}

/**
SLICK
 */

.slick-slider.slick-initialized {
    width: calc(100% - 50px);
    margin: auto;
}

.slick-track {
    display: flex;
}

.slick-slide {
    float: none;
    display: flex;
    justify-content: center;
    height: auto;
}

.slick-slide > div {
    display: flex;
    height: 100%;
}

.slick-next:before, .slick-prev:before {
    color: #000;
}

span.img-with-lightbox {
    position: relative;
    display: flex !important;
    justify-content: center;
}

span.img-with-lightbox picture,
span.img-with-lightbox img {
    max-width: 100%;
}

button.lightboxbutton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: transparent;
    opacity: 0;
    border: 0;
}

.scadenzaaccount {
    margin-left: -12px;
    margin-right: -12px;
}

button.lightboxbutton:hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: rgba(0, 0, 0, .1);
    border: 0;
    opacity: 1;
}

.react-player iframe {
    min-height: 250px;
}

.right-sidebar-mobile {
    display: none;
    visibility: hidden;
}

.sidebarmenu a {
    color: white;
    text-decoration: underline;
}

.sidebarmenu a:hover {
    color: white;
    text-decoration: none;
    background-color: white;
    color: black;
}

.sidebarmenu .navbar-nav {
    display: flex;
    flex-direction: column;
}

.sidebarmenu1 {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
}

.sidebarmenu1 a {
    color: white;
    text-decoration: underline;
}

.sidebarmenu1 .navbar-expand-lg .navbar-nav {
    flex-direction: column !important;
    align-content: flex-start;
    flex-wrap: wrap;
}

/*div#teco {
    position: relative;
    max-height: 80vh;
    overflow: auto;
    border: 1px solid #cccccc;
    padding: 20px;
}*/

.widget-block.bottoneaccettazione {
    margin: 20px 0px 0px 0px;
}

@media screen and (max-width: 1280px) {
    .homesearch .card {
        flex: 1 1 30%;
        margin: 5px;
        max-width: calc(33.33334% - 10px);
    }

    header {
        min-width: 250px;
    }

    .right-sidebar, .bacheca_button {
        display: none;
        visibility: hidden;
    }

    .right-sidebar-mobile {
        display: block;
        visibility: visible;
    }

}

@media screen and (max-width: 992px) {
    header .navbar-toggler {
        position: absolute;
        right: -67px;
        background-color: #ffffff;
        top:8px;
    }

    header {
        min-width: 0;
        position: fixed;
        z-index: 999;
        max-width: calc(100vw - 67px);
        height: 100vh;
        top: 0;
    }

    header .navbar-nav {
        /*flex-direction: row;*/
        /*align-items: center;*/
    }

    header nav.navbar-light.navbar.navbar-expand-lg {
        width: 0 !important;
    }

    header nav.navbar-light.nav-open.navbar.navbar-expand-lg {
        width: auto !important;
        max-height: 100%;
    }

    .scadenzaaccount {
        display: none;
    }

    header nav.navbar-light.nav-open .scadenzaaccount {
        display: inline-block;
    }

    .mainsearch .form-row .col-12 {
        margin-bottom: 5px;
    }

    .homesearch:empty:before {
        margin: 0px !important;
    }

    header nav.navbar-light.nav-open .navbar-toggler {
        position: absolute;
        right: -67px;
        background-color: #ffffffab;
        width: 67px;
        border: 0;
        border-radius: 0;
        font-size: 0;
        height: 100vh;
        top: 0;
        outline: none;
        box-shadow: none;
    }

    header .navbar > .container-fluid {
        max-height: 100vh;
        overflow: auto;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding-bottom: 20px;
    }

    .homesearch .card {
        flex: 1 1 50%;
        margin: 5px;
        max-width: calc(50% - 10px);
    }

    .homecontainer {
        padding-top: 46px !important;
    }
}

@media screen and (max-width: 480px) {
    .homesearch .card {
        flex: 1 1 100%;
        margin: 5px;
        max-width: 100%;
    }

    .homesearch > h3 {
        margin: 5px !important;
    }
}

