﻿/* NAVIGATION MOBILE */
/*header .right li.mobNav, main .sidenav {*/
.sidenav {
    /*display: none !important;*/
    /*width: 90%;*/
    width: 200px;
    position: fixed;
    right: 0;
    overflow: hidden;
    z-index: 2500;
    height: 0px;
    visibility: hidden;
}

.mobNav {
    display: none !important;
}

.share-container {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.share-item {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: #000;*/
    /*cursor: pointer;*/
}

.share-item a {
    /*color: white !important;*/
    padding: 0.5rem;
}

.right {
    display: flex;
}

.nav-search li {
    padding: 0 !important;
}

.nav-search {
    width: 100%;
}

.desktopNav li {
    border-left: 0.0625rem solid #ccc;
}

.intro {
    margin: 4rem auto 2rem;
}

@media only screen and (max-width: 1024px) {
    /*header[role=banner] {*/
    /*    justify-content: end;*/
    /*}*/
    .intro {
        display: none;
    }


    header .left, .desktopNav {
        /*header .left, header .right li {*/
        display: none !important;
    }

    .mobNav {
        display: block !important;
        border-left: 0.0625rem solid #ccc;
        cursor: pointer;
    }

    main .sidenav li {
        margin-bottom: 10px;
    }

    .autoCompleteItem span, .autoCompleteItem i {
        font-size: 1rem;
    }

    .sidenav.active {
        /*position: relative;*/
        /*display: block !important;*/
        visibility: visible;
        background: #fff;
        padding: 20px 0;
        height: 320px;
        border-left: 0.0625rem solid #ccc;
        /*transition: height 0.3s ease; !* You can adjust the duration and timing function as needed *!*/
        transition: height 0.5s ease;

    }

    .sidenav-list {
        height: 100%;
        flex-direction: column;
        cursor: pointer;
    }

    .sidenav-list-item {
        height: 2rem;
        margin: 1rem;
    }

    .sidenav-link-image {
        height: 1rem;
        display: inline;
        cursor: pointer;
        margin: auto;
    }

    .sidenav-link-text {
        margin-left: 0.5rem;
    }

    .sidenav-link-content {
        display: flex;
        justify-content: center;
    }

    .sidenav-link {
        text-decoration: none;
    }
}

/*Move loge on same breakpoints*/
@media only screen and (max-width: 1024px) {
    header[role=banner] {
        height: 3.125rem;
        justify-content: flex-end;
        padding-left: 0;
        padding-right: 0;
    }

    header[role=banner] .logo {
        left: 0;
        position: absolute;
        width: 3.125rem;
        height: 3.125rem;
        transform: none;

    }

}
