﻿/* Nav header */

header.fixed-menu {
    margin: 0 0 65px;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: #060808 !important;
}

.my-header-section {
    width: 100%;
    background: black;
    color: white;
    min-height: 65px;
}

    .my-header-section .my-section.top-header {
        position: relative;
        height: 65px;
    }


    .my-header-section.sup-menu-section {
        background: #2b2b2b;
    }


.fixed-menu .my-header-section {
    position: fixed;
    top: 0;
    z-index: 16;
}



.my-header-section .my-row {
    justify-content: space-between
}

.header-logo img {
    position: absolute;
    height: 50px;
    width: auto;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.my-header-section .my-header-menu {
    padding: 0;
    height: 65px;
    margin: 0;
}

    .my-header-section .my-header-menu li {
        display: flex;
        font-family: "Chivo Regular";
        list-style-type: none;
        padding: 0 10px;
        text-transform: uppercase;
        cursor: pointer;
        height: 100%;
        align-items: center;
        border-bottom: 4px solid black;
    }

        .my-header-section .my-header-menu li:hover, .my-header-section .my-header-menu li.active {
            border-bottom: 4px solid #fad02f;
        }

        .my-header-section .my-header-menu li a {
            height: 100%;
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white;
        }


.header-element-absolut {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

    .header-element-absolut.left {
        left: 0;
    }

    .header-element-absolut.right {
        right: 0;
    }

.account-drop-down {
    border: none;
    padding: 0;
    background: none;
    outline: none;
    font-family: "Chivo Regular";
    display: flex;
    justify-content: center;
}

    .account-drop-down::after {
        content: '';
        position: absolute;
        bottom: -22px;
        border: 20px solid transparent;
        border-bottom: 20px solid #383838;
        display: none;
    }

.open .account-drop-down::after {
    display: flex;
}



.account-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.open > .account-dropdown-menu {
    display: flex;
}

.account-dropdown-menu {
    top: 42px;
    left: auto;
    right: auto;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border-radius: 0;
    background: #383838;
    color: white;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: 0;
    position: absolute;
    z-index: 1000;
    float: left;
    min-width: 160px;
    font-size: 14px;
    list-style: none;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
}

.dropdown .account-drop-down-icon {
    color: #fdd030;
    margin: 0 5px;
}




.account-dropdown-menu li {
    height: 40px;
    width: 100%;
}

    .account-dropdown-menu li a {
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        height: 100%;
        align-items: center;
        text-align: center;
        justify-content: center;
        color: white;
    }

        .account-dropdown-menu li a:hover {
            background: #383838;
            color: white;
        }

    .account-dropdown-menu li:last-of-type {
        background: #fdd030
    }

        .account-dropdown-menu li:last-of-type a {
            font-weight: bold;
            color: black;
        }

            .account-dropdown-menu li:last-of-type a:hover {
                background: #fdd030;
            }



.navigation-header {
    display: flex;
    flex: 1;
}

    .navigation-header .navigation-header-section {
        width: 100%;
    }
        .navigation-header .navigation-header-section .navigation-element {
            margin: 20px 0 0; 
        }

        .navigation-header .navigation-header-section a {
            height: 100%;
            text-decoration: none;
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

            .navigation-header .navigation-header-section a .highlight {
                color: #fdd030;
                margin-right: 5px;
            }


.my-input-group {
    display: flex;
    align-items: center;
    background: black;
}

    .my-input-group.search-group {
        color: #7e7e7e;
        min-width: 220px;
    }

    .my-input-group .glyphicon-search {
        transform: scale(-1, 1);
        width: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 16px;
    }

    .my-input-group .search-inventory {
        background: black;
        border: none;
        font-weight: bold;
        font-size: 12px;
        outline: none;
        width: 100%;
    }

.sup-menu-section .navigation-header-sup-menu {
    height: 50px;
}

.sup-menu-section .my-row-streach.my-section {
    position: relative;
    padding-bottom: 65px;
}

.menu-sub-scroll {
    position: absolute;
    bottom: 0;
}

.sup-menu {
    padding: 0;
    height: 50px;
    margin: 0 -10px;
}


    .sup-menu li {
        font-family: "Chivo Regular";
        list-style-type: none;
        padding: 0 15px;
        cursor: pointer;
        align-items: center;
        position: relative;
        display: flex;
        flex-direction: column;
    }



.navigation-header .navigation-header-section .sup-menu a {
    font-size: 14px;
    font-weight: normal;
}

.navigation-header .navigation-header-section .sup-menu li a {
    white-space: nowrap;
}

.navigation-header .navigation-header-section .sup-menu li:hover a {
    font-weight: bold;
}

/*.navigation-header .navigation-header-section .sup-menu li:hover::after,*/ .navigation-header .navigation-header-section .sup-menu li.active::after {
    content: '';
    position: absolute;
    top: 15px;
    margin: auto;
    border: 10px solid transparent;
    border-bottom: 10px solid #fdd030;
}

:focus {
    outline: none !important;
}

::-moz-focus-inner {
    border: 0 !important;
}

.align-center {
    align-items: center;
}

.menu-button {
    height: 50px;
    color: white;
    width: 50px;
    background: none;
    font-size: 14px;
    outline: none;
    border: none;
    position: relative;
    display: none;
}

.custom-button-icons {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
}

    .custom-button-icons.menu-icons {
        background-image: url("../Content/images/MenuIcon.png");
    }

    .custom-button-icons.close-icons {
        background-image: url("../Content/images/Close.png");
    }

#mobyleMenu {
    height: 100%;
    position: fixed;
    display: none;
    top: 0;
    z-index: 99999999999999;
    color: white;
    background: #0000009c;
    width: 100%;
    align-items: start;
    height: 0;
    transition: 0.5s;
    overflow: -webkit-paged-x;
}


    #mobyleMenu .mobyle-menu-content {
        background: #383838;
        flex: 1;
    }

        #mobyleMenu .mobyle-menu-content .mobyle-menu-header {
            display: flex;
            justify-content: center;
            position: relative;
            align-items: center;
            height: 65px;
        }

            #mobyleMenu .mobyle-menu-content .mobyle-menu-header .menu-button {
                position: absolute;
                left: 25px;
                height: 50px;
                top: 0;
                bottom: 0;
                margin: auto;
            }

        /*#mobyleMenu .mobyle-menu-content .mobyle-menu-header .header-logo img {
                position: absolute;
                left: -4px;
                right: 0;
                height: 40px;
                top: 0;
                bottom: 0;
                margin: auto;
            }*/

        #mobyleMenu .mobyle-menu-content .mobyle-menu-body {
        }

            #mobyleMenu .mobyle-menu-content .mobyle-menu-body ul {
                padding: 0;
                list-style-type: none;
            }

                #mobyleMenu .mobyle-menu-content .mobyle-menu-body ul li {
                    padding: 5px 0;
                    border-bottom: 4px solid #383838;
                }

                    #mobyleMenu .mobyle-menu-content .mobyle-menu-body ul li.active {
                        border-bottom: 4px solid #fad02f;
                    }

                #mobyleMenu .mobyle-menu-content .mobyle-menu-body ul a {
                    color: white;
                    font-size: 18px;
                    text-transform: uppercase;
                    text-decoration: none;
                }


#supMenu {
    margin-left: 0;
    overflow: visible;
    /*overflow-x: auto;*/
}

/* хром, сафари */
#supMenu::-webkit-scrollbar {
    height: 0;
}

/* ie 10+ */
#supMenu  {
    -ms-overflow-style: none;
}

/* фф (свойство больше не работает, других способов тоже нет)*/
#supMenu {
    overflow: -moz-scrollbars-none;
}


#supMenuEnd {
    height: 100%;
    width: 24px;
    /* background: white; */
    position: absolute;
    right: -16px;
    /*background: linear-gradient(to right, #00000000, #2b2b2b);*/
}
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .my-header-section .my-header-menu {
        display: none;
    }

    .header-logo img {
        height: 40px;
        right: 0;
    }

    .account-dropdown-menu {
        right: 0;
    }

    .menu-button {
        display: flex
    }

    .account-drop-down-icon {
        display: none;
    }

    #mobyleMenu {
        display: flex;
    }
    .navigation-header .navigation-header-section .sup-menu li:hover a {
        font-weight: normal;
    }
}

ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: all 0.5s ease;
    margin-top: 2rem;
    left: -24px;
    display: none;
}

ul li:hover > ul,
ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
    z-index:10;
}





.dropdown {
    position: relative;
    display: inline-block;
    padding: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 4;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    z-index: 6;
}

.dropdown-content a:hover {
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.navigation-header .navigation-header-section .popoutmenuitem a {
    color: black;
    padding: 5px 0px;
    text-decoration: none;
    display: block;
    z-index: 6;
}

.popoutmenuitem {
    position: relative !important;
    background-color: #fdd030;
    color: black;
    font-family: 'Chivo Black';
    font-weight: bold;
    text-decoration: none;
}

.navigation-header .navigation-header-section .popoutmenuitem:hover a {
    color: white;
}

.popoutmenuitem:hover {
    color: white;
    background-color: #655313;
    text-decoration: none;
}