/*Slim header*/
.it-header-slim-wrapper {
    background-color: var(--clr-default-blue) !important;
}

.it-access-top-wrapper span {
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.slim-menu-divider {
    height: 70%;
    border-left: 1px solid var(--clr-white-blue);
    margin: 0 5px;
}


.portals-menu-btn {
    padding: 14px 10px !important;
    text-transform: none !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 24px !important;
}

.mobile-portals-icon {
    display: none;
}

/*Header - administration select*/
.administration-menu-btn {
    padding: 14px 10px !important;
    text-transform: none !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 24px !important;
}

.administration-link {
    border-bottom: 1px solid var(--clr-white-blue);
    margin-top: 5px;
}

/*Header - area navigation buttons*/

.area-btn {
    border: 1px solid var(--clr-dark-blue);
    border-radius: 4px 0 0 4px;
    padding: 7px 8px !important;
    height: calc(var(--height-slim-header) * 0.80);
    background-color: var(--clr-default-blue);
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-btn:nth-child(2) {
    border-radius: 0 4px 4px 0;
    border-left: none !important;
}

.area-btn:hover {
    text-decoration: none !important;
}

.area-btn-active {
    background-color: var(--clr-dark-blue) !important;
}

.area-btn-icon {
    margin-right: 12px;
}

/*Slim header > User menu*/
.user-menu-icon {
    margin-right: 14px;
}

.it-header-slim-wrapper {
    height: var(--height-slim-header) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-slim-right-zone {
    margin-left: auto !important;
}

.login-btn {
    background-color: var(--clr-dark-blue) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon {
    fill: white;
    width: 20px !important;
    margin-right: 2px;
}

.user-dropdown {
    width: 265px;
    margin-top: 15px !important;
}

/*Title header*/
.it-header-center-wrapper {
    background-color: white !important;
}

.it-header-center-wrapper * {
    color: var(--clr-dark-blue) !important;
}

.it-brand-wrapper .icon {
    width: 82px;
    height: 82px;
    display: flex;
}

.it-brand-wrapper .icon img {
    width: 100%;
    height: auto;
    margin: auto;
    display: block;
}

/*Title header > Search*/
.search-link {
    background-color: var(--clr-default-blue) !important;
}

.search-link .icon {
    fill: white !important;
}

/*Menu header*/
.it-header-navbar-wrapper {
    background-color: var(--clr-white-blue) !important;
}

/*Menu header - Any item*/
.it-header-navbar-wrapper .nav-item {
    border-radius: 5px 5px 0 0;
}
.it-header-navbar-wrapper .main-navigation-link {
    color: var(--clr-dark-blue) !important;
}

/*Menu header - Active item*/

.it-header-navbar-wrapper .main-navigation-link.active  {
    color: var(--clr-default-blue) !important;
    font-weight: 700 !important;
    border-bottom: solid 4px var(--clr-default-blue) !important;
}

.navbar-center {
    position: absolute;
    left: 0;
    transform: translatex(-50%);
}

.search-form {
    align-items: center;
    justify-content: center;
    height: 32px;
}

.search-input {
    padding: 3px 5px;
    max-width: 25vw;
    display: inline;
}

.search-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}


@media (max-width: 991px) {
    /*General*/
    .it-header-wrapper {
        top: var(--height-slim-header);
    }


    .it-header-slim-wrapper {
        position: fixed !important;
        width: 100vw;
        top: 0;
        z-index: 99;
    }

    .portals-menu-wrapper {
        display: none !important;
    }

    .administration-menu-wrapper {
        display: none !important;
    }

    .it-search-wrapper {
        display: none !important;
    }

    .main-body {
        padding-top: calc(var(--height-title-header-mobile) - 15px);
    }

    /*Custom burger menu*/
    .it-header-navbar-wrapper {
        background: none !important;
        top: 0 !important;
        left: 70% !important;
        margin: 0 !important;
        padding-top: 3px !important;
        padding-bottom: 3px !important;
        position: fixed !important;
        z-index: 99 !important;
    }



    .it-header-navbar-wrapper .icon {
        height: 28px;
        width: 28px;
        stroke-width: 2px !important;
    }

    .it-header-navbar-wrapper .nav-link.active {
        border: none !important;
    }

    /*User menu*/
    .it-header-slim-wrapper-content {
        display: flex !important;
        justify-content: start !important;
    }

    .header-slim-right-zone {
        margin-left: 0 !important;
    }

    /*Header area nav buttons*/
    .header-area-nav {
        display: none !important;
    }

    /*Title header*/
    .it-header-center-wrapper {
        height: var(--height-title-header-mobile) !important;;
        padding-left: 0 !important;
        box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
    }

    .it-brand-wrapper {
        padding-left: 0 !important;
    }

    .it-brand-wrapper .icon {
        width: 40px;
        height: 40px;
    }

    .it-brand-text {
        font-weight: 600;
        font-size: 14px;
        line-height: 16px;
    }

    .sottotitolo {
        display: flex !important;
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
    }

    /*Breadcrumb*/
    .breadcrumb-container {
        position: relative;
        margin-left: 24px !important;
    }

    .breadcrumb-link {
        font-size: 14px;
    }
}

@media (min-width: 992px){
    .custom-nav-item{
        margin-left: 0;
        margin-right: 48px;
        padding: 13px 0 !important;
    }
}