﻿.navbar-holder {
    width: 100%;
    height: 138px;
}

.navbar-holder-mobile {
    display: none;
    height: 138px;
}

#header2 {
    top: 26px;
    width: 100%;
    z-index: 1050;
    position: fixed;
}

    #header2 .navbar2 {
        color: #fff;
        height: 86px;
        display: flex;
        margin: 0 auto;
        width: fit-content;
        align-items: center;
        border-radius: 3rem;
        flex-direction: column;
        justify-content: center;
        box-shadow: 0px 0px 7px 0px #8b8b8bb3;
        background-color: var(--header_bcolor1);
    }

    #header2 .navbar-top {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #header2 .navbar-content-small {
        display: none;
    }

    #header2 .navbar-right-items {
        display: flex;
        padding: 1rem;
        font-size: 17px;
        align-items: center;
        justify-content: center;
        color: var(--header_fcolor);
    }

    #header2 .navbar-center {
        width: auto;
        display: flex;
        font-size: 17px;
        align-items: center;
        padding-left: .5rem;
        padding-right: .5rem;
        justify-content: center;
        color: var(--header_fcolor);
    }

    #header2 .nav-title {
        margin: 0;
        padding: 0;
    }

    #header2 .navbar-content {
        height: 100%;
        display: flex;
        padding: 0 2rem;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        flex-direction: row-reverse;
    }

    #header2 .content-item {
        height: 100%;
        display: flex;
        font-size: 14px;
        direction: rtl;
        padding: 0 .8rem;
        position: relative;
        align-items: center;
        text-decoration: none;
        color: var(--header_fcolor);
    }

        #header2 .content-item:hover {
            color: var(--formButton_hover) !important;
            font-weight: 800
        }

    #header2 .dropdown-content {
        right: 12.8px;
        top: 86px;
        display: none;
        direction: rtl;
        z-index: 10000;
        min-width: 160px;
        position: absolute;
        border-radius: 0 0 10px 10px;
        background: var(--header_bcolor1);
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        /*background: linear-gradient(270deg,var(--header_bcolor1) 27%, var(--header_hover) 65%);*/
    }

        #header2 .dropdown-content .dropdown-item {
            float: none;
            display: block;
            text-align: right;
            white-space: break-spaces;
            padding: 12px 16px;
            text-decoration: none;
            color: var(--header_fcolor);
        }

            #header2 .dropdown-content .dropdown-item:hover, #header2 .dropdown-content-2:hover {
                background-color: var(--formButton_hover) !important;
                font-weight: 800;
            }


    #header2 .dropdown-content-2 {
        position: relative;
        width: 100%;
        text-align: right;
        padding: 12px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #000;
        font-weight: 400
    }

        #header2 .dropdown-content-2:hover > .dropdown-content-list-2 {
            display: block;
            animation: fadeToLeft .3s linear;
        }

        #header2 .dropdown-content-2 .dropdown-content-list-2 {
            display: none;
            position: absolute;
            right: 160px;
            top: 0;
            background-color: #fff;
            border-radius: 10px 0 0 10px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            min-width: 160px;
        }

@keyframes fadeToLeft {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#header2 .navbar-left-items {
    padding: 1rem;
}

#header2 .panel-btn {
    padding: 1em;
    border: none;
    font-size: 17px;
    border-radius: 3rem;
    color: var(--formButton_fcolor);
    transition: background 0.2s ease-in-out;
    background-color: var(--formButton_bcolor1);
}

    #header2 .panel-btn:hover {
        cursor: pointer;
        background-color: var(--formButton_hover);
    }

#header2 .mobile-login-logo {
    display: none;
}

#header2 .nav-logo {
    /*height: 100%;*/
    padding: .5rem;
    width: 90px;
}

@media(max-width : 1200px ) {
    .navbar-holder {
        height: 125px;
    }

    .navbar-holder-mobile {
        height: 125px;
    }

    #header2 .navbar2 {
        height: 73px;
    }

    #header2 .panel-btn {
        font-size: 13px;
    }

    #header2 .navbar-content {
        padding: 0 1rem;
    }

    #header2 .content-item {
        font-size: 11px;
    }

    #header2 .navbar-center {
        font-size: 15px;
    }

    #header2 .dropdown-content {
        top: 73px;
    }
}

@media(max-width: 992px) {
    #header2 {
        top: 0;
    }

    .navbar-holder {
        height: 65px;
        display: none;
    }

    .navbar-holder-mobile {
        display: block;
        height: 65px;
    }

    #header2 .navbar2 {
        opacity: 1;
        height: auto;
        min-width: 50%;
        padding: 0 10px;
        align-items: stretch;
        border-radius: 0 0 2em 2em;
        width: 100%;
    }

    #header2 .navbar-top {
        height: 56px;
    }

    #header2 .navbar-content-small {
        width: 100%;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    #header2 .dropdown-content-mobile {
        width: 100%;
        display: none;
        direction: rtl;
        min-width: 160px;
        padding: 10px 0 0 0;
    }

        #header2 .dropdown-content-mobile a, #header2 .dropDown-link-mobile-2, #header2 .dropDown-link-mobile-title {
            opacity: .9;
            float: none;
            display: block;
            padding: 7px 16px;
            text-align: center;
            text-decoration: none;
            color: var(--header_fcolor);
        }

    #header2 .dropdown-link-item:not(:last-child) {
        border-bottom: 1px solid #dbdbdb
    }

    #header2 .dropDown-link-mobile-2 .dropdown-link-item {
        padding: unset;
        margin-bottom: 4px;
    }

    #header2 .dropdown-content a:hover {
        color: var(--formButton_bcolor1);
    }

    #header2 .navbar-content-small > hr {
        margin: 0;
        width: 88%;
        opacity: .1;
        color: var(--header_fcolor);
    }

    #header2 .content-item-small {
        padding: 1rem;
        font-size: .9rem;
        min-width: 95%;
        text-align: center;
        font-weight: 500;
        text-decoration: none;
        color: var(--header_fcolor);
    }

    #header2 .panel-btn-mobile {
        margin-bottom: 5px;
        border-radius: 36px;
        background-color: var(--header_fcolor);
        color: var(--header_bcolor1) !important;
    }

    #header2 .navbar-content {
        display: none !important;
    }

    #header2 .navbar-center {
        font-size: 14px;
        padding: 0 !important;
    }

    #header2 .navbar-right-items {
        text-align: end;
    }

    #header2 .navbar-left-items {
        padding: 0px 10px;
    }

    #header2 .panel-btn {
        font-size: 13px;
        min-width: max-content;
    }

    #header2 .nav-logo {
        width: 44px;
        padding: 15px 0px 15px 10px;
    }

    #header2 .panel-btn {
        display: none;
    }

    #header2 .mobile-login-logo {
        width: 30px;
        height: 30px;
        padding: 3px;
        display: flex;
        margin: 0px 5px;
        fill: var(--header_fcolor);
    }

    #header2 .mobile-logo-path {
        stroke: var(--header_fcolor);
    }

    #header2 .nav-title {
        width: 100%;
        display: flex;
        font-weight: 500;
        font-size: .9rem !important;
        text-align: center;
    }
}
