.custom-button-header {
    display: flex;
}

.block.block-search {
    width: auto;
    margin-right: 20px;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links {
    margin-right: 20px;
}

.header.content {
    max-width: unset !important;
}

.header-custom-left.panel.wrapper {
    display: flex;
}

div#switcher-language {
    display: flex;
    justify-content: center;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right {
    align-items: center;
}

.header.content .panel.wrapper .header-custom-block > div.ves-menu {
    order: 5;
    width: 100%;
}

.header-custom-block {
    flex-flow: row wrap;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right > div {
    width: unset;
}

/* fix position */

.header.content.fixed {
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.header.content.fixed .panel.wrapper .header-custom-block .header-custom-left {
    order: 4;
    width: 9%;
}

.header.content.fixed .panel.wrapper .header-custom-block .header-custom-middle {
    order: 1;
}

.header.content.fixed .panel.wrapper .header-custom-block .header-custom-right {
    order: 3;
}

.header.content.fixed .panel.wrapper .header-custom-block > div.ves-menu {
    order: 2;
    width: -webkit-fill-available;
}

.header.content.fixed .header-custom-block {
    flex-flow: unset;
}

.header.content.fixed .panel.wrapper .header-custom-block .header-custom-right > div {
    width: unset;
    margin-right: 20px;
}

.header.content.fixed .panel.wrapper .header-custom-block .header-custom-right .custom-header-top-search {
    margin-left: 60%;
}

.header.content.fixed .ves-megamenu li.active>a {
    background: #333;
    color: #FFF !important;
    padding: unset;
}

.header.content.fixed .ves-megamenu .nav-item > a {
    padding: 0px;
    margin: 0px;
}

.header.content.fixed .ves-megamenu.menu-hover.ves-horizontal {
    display: flex;
    justify-content: space-around;
}

.header.content .navigation .level0 .submenu a:hover {
    background: unset;
}

.header.content .navigation .level0 .submenu a:hover span {
    color: #f7b500;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links > ul > li.logedin {
    border: 0;
    padding: 0;
    text-align: left;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links > ul > li.logedin a {
    color: #FFFFFF;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links > ul > li.logedin.btn-logout a{
    text-decoration: underline;
    color: #FFBE00;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links > ul > li.logedin p.welcome {
    color: #FFBE00;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links ul.header.links li:nth-child(1) {
    display: none;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links > ul > li:hover:nth-child(2) {
    background-color: unset;
}

.header.content .panel.wrapper .header-custom-block .header-custom-right .minicart-wrapper span.counter.qty {
    position: absolute;
}
@media only screen and (max-width: 768px) {
    .header.content .panel.wrapper .header-custom-block .header-custom-right .header-custom-right-header-links {
        margin-right: 0;
    }
}
