﻿.mainmenu-dashboard {
    content: url(../images/home.svg);
}

.mainmenu-customers {
    content: url(../images/contatti.svg)
}

.mainmenu-products {
    content: url(../images/prodotti_servizi.svg)
}

.mainmenu-purchases {
    content: url(../images/acquisti.svg)
}

.mainmenu-sales {
    content: url(../images/vendite.svg)
}

.mainmenu-production {
    content: url(../images/in_produzione.svg)
}

.mainmenu-planning {
    content: url(../images/pianificazione.svg)
}

.mainmenu-calendar {
    content: url(../images/calendar.svg)
}

.mainmenu-maintenance {
    content: url(../images/manutenzione.svg)
}

.mainmenu-marketplace {
    content: url(../images/marketplace.svg)
}

.mainmenu-finance {
    content: url(../images/finanze.svg)
}

.mainmenu-search {
    content: url(../images/search.svg)
}

@media (min-width: 1200px) {
    header#menu-header .container {
        max-width: 1320px;
    }
}

header#menu-header div.icon-company {
    width: 48px;
}

    header#menu-header div.icon-company img {
        max-width: 48px;
        max-height: 48px;
        height: auto;
        width: auto;
    }

@media (min-width: 1439px) {
    header#menu-header .container {
        max-width: 100% !important;
    }

    header#menu-header div.icon-company {
        width: 96px;
    }

        header#menu-header div.icon-company img {
            max-width: 96px;
        }
}

@media (max-width: 1319px) {
    header#menu-header div#menu-header-left {
        display: none !important;
    }

    header#menu-header div#menu-header-right {
        display: none !important;
    }

    header#menu-header {
        height: 80px !important;
    }

        header#menu-header div.icon-company {
            width: 96px;
        }

        header#menu-header div.icon-company {
            width: unset;
        }

            header#menu-header div.icon-company img {
                max-width: 270px;
            }
}

@media (min-width: 1320px) {
    button.navbar-toggler {
        display: none !important;
    }
}

div.offcanvas-collapse {
    visibility: hidden;
}

    div.offcanvas-collapse div.offcanvass-header {
        display: flex;
        align-items: center !important;
        background-color: #f6f6f6;
        height: 80px;
    }

@media (max-width: 1320px) {
    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 100%;
        width: 373px;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: white;
        transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        z-index: 9999;
    }

        .offcanvas-collapse.open {
            visibility: visible;
            -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
        }
}

header#menu-header {
    height: 100px;
    background-color: white;
    z-index: 3;
    position: fixed;
    width: 100%;
}

    header#menu-header nav {
        padding: 10px 0;
        height: auto;
    }

    header#menu-header div.nav-item {
        width: 80px;
        min-width: 80px;
        height: 80px;
        min-height: 80px;
        margin: 0 2px;
        padding: 10px 0;
        /*border: 1px solid #F6F6F6;
        border-radius: 5px;*/
        text-align: center;
    }

    header#menu-header img.nav-icon {
        /* Colorize SVG from black https://codepen.io/sosuke/pen/Pjoqqp */
        filter: invert(34%) sepia(57%) saturate(1657%) hue-rotate(181deg) brightness(96%) contrast(84%);
        color: #1a79bf;
    }

    header#menu-header div.nav-item:hover a, header#menu-header div.nav-item.active a {
        filter: invert(13%) sepia(96%) saturate(7058%) hue-rotate(320deg) brightness(91%) contrast(101%);
        color: #e6007e;
        text-decoration: none;
    }

    header#menu-header span.cart-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        display: inline-block;
        color: #1a79bf;
        padding: 0.25em 0.4em;
        font-size: 9px;
        font-weight: 700;
        line-height: 10px;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        transform: translateY(-50%) translateX(50%);
        background-color: #e6007e;
        color: white;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }

    header#menu-header div.nav-item span.nav-link {
        font-size: 9px;
        font-weight: 500;
        letter-spacing: 0.45px;
        padding: 10px 0 0 0;
    }

    header#menu-header div#dropdown-language a {
        font-size: 12px;
        background-position-x: left;
        background-position-y: center;
        background-repeat: no-repeat;
        padding-left: 20px;
        text-indent: -9999px;
        white-space: nowrap;
    }

        header#menu-header div#dropdown-language a[data-culture='it-IT'] {
            background-image: url('/images/it-flag-toolbar.png');
        }

        header#menu-header div#dropdown-language a[data-culture='en-US'] {
            background-image: url('/images/en-flag-toolbar.png');
        }

div#menu-search form, div#menu-search-hamburger form {
    position: relative;
    display: none;
}

    div#menu-search form.open, div#menu-search-hamburger form.open {
        display: flex;
        align-items: center !important;
        position: absolute;
        left: -260px;
        width: 306px;
        height: 48px;
        top: -3px;
        padding: 6px;
        background-color: white;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        box-shadow: 0 0 0.40rem 0.1rem rgba(0,0,0,.075) !important;
    }

    div#menu-search form img.icon-search-close, div#menu-search-hamburger form img.icon-search-close {
        float: left;
        margin-right: 4px;
    }

span.qr-search {
    float: left;
    margin-right: 4px;
    color: #0366d6;
    cursor: pointer;
}

input#page-search, input#page-search-hamburger {
    border: none;
    border-bottom: 1px solid #707070;
    width: 230px;
    height: 35px;
}

    input#page-search::focus-visible, input#page-search-hamburger::focus-visible {
        outline: none;
    }

    input#page-search:focus-visible, input#page-search-hamburger:focus-visible {
        outline: none;
    }

#icon-offcanvass-close {
    float: right;
    margin-right: 8px;
}

.cartsSummary {
    right: 7px !important;
    top: 8px !important;
}

/*
.wpml-ls-legacy-dropdown-click {
    width: 15.5em;
    max-width: 100%
}

    .wpml-ls-legacy-dropdown-click > ul {
        position: relative;
        padding: 0;
        margin: 0 !important;
        list-style-type: none
    }

    .wpml-ls-legacy-dropdown-click .wpml-ls-item {
        padding: 0;
        margin: 0;
        list-style-type: none
    }

    .wpml-ls-legacy-dropdown-click a {
        display: block;
        text-decoration: none;
        color: #444;
        border: 1px solid #cdcdcd;
        background-color: #fff;
        padding: 5px 10px;
        line-height: 1
    }

        .wpml-ls-legacy-dropdown-click a span {
            vertical-align: middle
        }

        .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
            position: relative;
            padding-right: calc(10px + 1.4em)
        }

.rtl .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    padding-right: 10px;
    padding-left: calc(10px + 1.4em)
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    content: "";
    vertical-align: middle;
    display: inline-block;
    border: .35em solid transparent;
    border-top: .5em solid;
    position: absolute;
    right: 10px;
    top: calc(50% - .175em)
}

.rtl .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    right: auto;
    left: 10px
}

.wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover > a, .wpml-ls-legacy-dropdown-click a:focus, .wpml-ls-legacy-dropdown-click a:hover {
    color: #000;
    background: #eee
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    visibility: hidden;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-top: 1px solid #cdcdcd;
    padding: 0;
    margin: 0;
    list-style-type: none;
    z-index: 101
}

    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
        border-width: 0 1px 1px
    }

.wpml-ls-legacy-dropdown-click .wpml-ls-flag {
    display: inline;
    vertical-align: middle
}

    .wpml-ls-legacy-dropdown-click .wpml-ls-flag + span {
        margin-left: .4em
    }

.rtl .wpml-ls-legacy-dropdown-click .wpml-ls-flag + span {
    margin-left: 0;
    margin-right: .4em
}
*/
