body{
    padding-top: 60px;
}

.admin-bar{
    .new-nav{
        top: 32px;
    }
}

.new-nav{
    background-color: $primary;
    padding: 11px 0;
    box-shadow: 0px 3px 6px 1px #00000030;

    .wrap{
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-column-gap: 30px;
        align-items: center;
        
        @include media-breakpoint-down(md){
            grid-template-columns: 1fr 3fr;
        }
    }

    .search-bar{
        position: relative;

        &.ajax-search-active{
            #search-result{
                display: block;
            }
        }

        #search-result{
            display: none;
        }

        .input-search{
            box-shadow: none;
            border: 0;
            background-color: $white;
            width: 100%;
            padding: 5px 10px;            
            font-size: 16px;            
            outline: none;
            height: 38px;

            &::placeholder{
                font-style: italic;
                color: #727272;
            }
        }

        .btn-search{
            width: 38px;
            height: 38px;
            border: 0;
            box-shadow: none;
            background: #2C2C2C url(../images/icon-search.svg) no-repeat center;

            position: absolute;
            top: 0;
            right: 0;
        }
    }

    .support{
        font-size: 25px;
        font-weight: 700;
        font-family: $font-family-secondary;
        color: $white;
        display: flex;
        align-items: center;
        justify-content: flex-end;

        @include media-breakpoint-down(md){
            display: none;
        }

        &:before{
            content: '';
            display: inline-block;
            width: 32px;
            height: 32px;
            background: url(../images/support-icon.png) no-repeat center;
            margin-right: 10px;
        }
    }
}

.nav-menu{
    background: #000000;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);

    #main-menu{
        list-style: none;
        margin: 0;
        padding: 0;

        li{
            padding: 0 5px;

            a{
                font-size: 16px;
                font-weight: 700;
                font-family: $font-family-secondary;
                color: $white;
                text-transform: uppercase;
                white-space: nowrap;

                &:hover{
                    color: $primary;
                }
            }

            &.icon-tivi{
                position: relative;

                .nav-link{
                    &:after{
                        content: '';
                        position: absolute;
                        width: 23px;
                        height: 23px;
                        background: url(../images/icon-tivi.svg) no-repeat center;
                        margin-left: 10px;
                    }
                }
            }

            &.active{
                a{
                    color: $primary;
                }
            }
        }
    }
}

#search-result{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fafafa;
    z-index: 99;
    box-shadow: 0px 8px 8px 1px hsl(0deg 0% 0% / 15%);

    .item{
        padding: 7px 10px;
        font-size: 14px;
        display: block;
        text-decoration: none;
        color: #6C6C6C;

        &:hover{
            background-color: #EFEFEF;
        }
    }
}
