#topMenuContent.floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #fff;
    border-bottom: solid #e7e7e7 1px;
    -webkit-box-shadow: 0 0 8px -2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 0 8px -2px rgba(0,0,0,.2);
    box-shadow: 0 0 8px -2px rgba(0,0,0,.2);
    z-index: 90000;
}

#topMenu {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 15px 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

#logo {
    order: 0;
    display: block;
    width: 214px;
    height: 42px;
    background: url("../img/logo.svg") no-repeat 0 0;
}

#topSearch {
    order: 1;
    width: 500px;
    margin: 0 0 0 100px;
}

#topSearch input[type='text'],
#topSearch input[type='text']:focus {
    border: solid #d7d7d7 1px;
    font-size: 14px;
    color: #222;
    background: #fafafa;
}

#topSearch input[type='text']::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #a4a4a4;
    opacity: 1; /* Firefox */
}

#topSearch input[type='text']:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #a4a4a4;
}

#topSearch input[type='text']::-ms-input-placeholder { /* Microsoft Edge */
    color: #a4a4a4;
}

#topSearch .input-group-text {
    background: none;
    line-height: 1.0;
}

#topSearch .input-group-text a,
#topSearch .input-group-text a:link {
    font-size: 16px;
    color: #a4a4a4;
}

#topSearch .input-group-text a:hover,
#topSearch .input-group-text a:active {
    color: #ed1c24;
}

#topItems {
    position: relative;
    order: 2;
    width: calc(100% - 214px - 500px - 100px);
    margin: 0;
    padding: 0;
    list-style: none;
}

#topItems li {
    margin-left: 25px;
}

#topItems li a.icon {
    display: block;
    margin: 0;
    min-width: 30px;
    min-height: 25px;
    background-position: top center;
    background-repeat: no-repeat;
}

#topItems li a.icon,
#topItems li a.icon:link,
#topItems li a.icon:visited {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    color: #595a5c;
    white-space: nowrap;
    text-decoration: none;
}

#topItems li a.icon.active,
#topItems li a.icon:hover,
#topItems li a.icon:active {
    color: #ed1c24;
}

#topItems li a.icon span {
    padding-top: 27px;
}

#topItems li a.icon.basket {
    position: relative;
    background-image: url("../img/icon-basket.png");
}

#topItems li a.icon.points {
    background-image: url("../img/icon-points.png");
}

#topItems li a.icon.account {
    background-image: url("../img/icon-account.png");
}

#topItems li a.icon.favourite {
    position: relative;
    background-image: url("../img/icon-favourite.png");
}

#topItems li a.icon .red-quantity {
    position: absolute;
    top: -3px;
    right: 0;
    line-height: 1.0;
    padding: 4px 0 0 0;
    text-align: center;
    font-size: 10px;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 18px;
    height: 19px;
    background: #ed1c24;
    border: none;
    color: #fff;
}

#basketSeparator {
    order: 3;
    width: 36px;
    height: 40px;
    background-image: url("../img/basket-separator.png");
    background-repeat: repeat-y;
    background-position: 50% 0;
}

#hamburger {
    order: 4;
    width: 31px;
    border: 0;
    padding: 29px 0 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    color: #595a5c;
    white-space: nowrap;
    text-decoration: none;
    background-image: url("../img/hamburger.png");
    background-repeat: no-repeat;
    background-position: top center;
}

#hamburger:hover,
#hamburger:active {
    outline: 0;
    text-decoration: none;
    color: #ed1c24;
}

#mainMenuContent {
    display: block;
    order: 5;
    width: 100%;
    margin-top: 15px;
    border-top: solid #d7d7d7 1px;
    position: relative;
}

#mainMenuContent a.close {
    display: none;
}

#mainMenu {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    background-image: url("../img/bg-top-menu.png");
    background-repeat: repeat-x;
    background-position: bottom;
}

#mainMenu li {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    display: inline-block;
    outline: none;
}

#mainMenu li.active,
#mainMenu li:hover {
    background-image: url("../img/bg-top-menu-active.png");
    background-repeat: repeat-x;
    background-position: bottom;
}

#mainMenu li a {
    display: block;
    font-size: 13px;
    color: #333;
    padding-top: 12px;
    padding-bottom: 13px;
    text-transform: uppercase;
    text-decoration: none;
}

#mainMenu li a.red {
    color: #ed1c24;
}

#mainMenu li a.meble::after {
    position: relative;
    display: inline-block;
    margin: 0 0 0 7px;
    vertical-align: 3px;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

#mainMenu li#mainMenuPromo,
#mainMenu li#mainMenuInspire {
    float: right;
}

#mainMenu li#mainMenuPromo a {
    color: #ed1c24;
}

#mainMenu li#mainMenuInspire a {
    background-image: url("../img/bulb.png");
    background-repeat: no-repeat;
    background-position: left top 11px;
    padding-left: 22px;
}

#mainMenuExtended {
    display: none;
    position: absolute;
    top: 43px;
    left: 0;
    width: 100%;
    background: #fff;
    margin: 0;
    padding: 40px 30px 20px 30px;
    z-index: 9999;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    -webkit-box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.1);
}

#mainMenuExtended a.return {
    display: none;
}

#mainMenuExtended hr {
    margin: 10px 0;
}

#mainMenuExtended a.btn-see-all {
    margin: 5px 0 0 0;
}

#mainMenuExtended ul {
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
}

#mainMenuExtended ul li {
    float: left;
    width: 200px;
    white-space: nowrap;
    margin: 0 0 13px 0;
    overflow: hidden;
}

#mainMenuExtended ul li::before {
    float: left;
    display: block;
    vertical-align: 0px;
    margin: 4px 10px 0 0;
    color: #ed1c24;
    content: "";
    border-left: 0.3em solid;
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
}

#mainMenuExtended ul li a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
}

#mainMenuExtended ul li.active a,
#mainMenuExtended ul li a:hover {
    color: #ed1c24;
}

#topMenuContent.floating #topSearch {
    order: 1;
}

#topMenuContent.floating #topItems {
    order: 2;
    width: calc(100% - 881px);
}

#topMenuContent.floating #basketSeparator {
    order: 3;
    display: block !important;
    width: 36px;
}

#topMenuContent.floating #hamburger {
    order: 4;
    display: block !important;
    margin-top: 0;
}

/* main menu minified start */
#topMenuContent.floating #topMenu {
    padding: 15px 0 !important;
    margin: 0 !important;
    border-bottom: none;
}

#topMenuContent.floating #topItems span {
    display: none !important;
}

#topMenuContent.floating #topItems .red-quantity {
    top: -5px;
    right: -7px;
}

#topMenuContent.floating #mainMenuContent {
    display: none;
}


/* only for X-LARGE */
@media all and (min-width: 1200px) and (max-width: 1399px) {
    #topSearch {
        width: 420px;
        margin: 0 0 0 80px;
    }

    #topItems {
        width: calc(100% - 214px - 420px - 80px);
    }

    #mainMenuExtended ul li {
        width: 176px;
    }

    #topMenuContent.floating #topItems {
        width: calc(100% - 781px);
    }
}

/* only for LARGE */
@media all and (min-width: 992px) and (max-width: 1199px) {
    #topSearch {
        width: 320px;
        margin: 0 0 0 40px;
    }

    #topItems {
        width: calc(100% - 214px - 320px - 40px);
    }

    #topItems li {
        margin-left: 20px;
    }

    #mainMenuExtended ul li {
        width: 218px;
    }

    #topMenuContent.floating #topItems {
        width: calc(100% - 701px);
    }

    #topMenuContent.floating #topSearch {
        width: 380px;
    }
}

/* for EXTRA SMALL and SMALL and MEDIUM */
@media all and (max-width: 991px) {
    #topMenu {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: solid #d7d7d7 1px;
    }

    #topItems {
        order: 1;
        width: calc(100% - 214px);
    }

    #hamburger {
        order: 3;
        margin-top: 20px;
    }

    #topSearch {
        order: 4;
        margin: 20px 0 0 20px;
        width: calc(100% - 31px - 20px);
    }

    #topMenuContent #mainMenuContent {
        display: none;
    }

    #topMenuContent.floating #logo {
        width: 42px;
        height: 42px;
        background: url("../img/logo-icon.png") no-repeat 0 0;
    }

    #topMenuContent.floating #topSearch {
        width: calc(100% - 220px);
        margin: 0 30px 0 30px;
    }

    #topMenuContent.floating #topItems {
        width: 50px;
    }

    #topMenuContent.floating #topItems li:not(:last-child) {
        display: none !important;
    }

    #topMenuContent.floating #topItems li {
        margin-left: 12px !important;
    }

    #topMenuContent.floating #topItems li a span {
        display: none !important;
    }

    #topMenuContent #mainMenuContent {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100%;
        height: auto;
        margin: 0;
        padding: 0px 20px 30px 20px;
        z-index: 10000;
        background: #fff;
        background-image: none;
        -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
    }

    #topMenuContent #mainMenuExtended {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-height: 100%;
        height: auto;
        margin: 0;
        padding: 12px 20px 20px 20px;
        border-bottom: none;
        z-index: 10000;
        -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
    }

    #topMenuContent #mainMenuContent a.close {
        display: block;
        font-size: 34px;
        color: #ed1c24;
        margin: 0;
        padding: 0;
    }

    #topMenuContent #mainMenuExtended a.return {
        display: block;
    }

    #topMenuContent #mainMenu li#mainMenuPromo,
    #topMenuContent #mainMenu li#mainMenuInspire {
        float: unset;
    }

    #topMenuContent #mainMenu li#mainMenuPromo a {
        color: unset;
    }

    #topMenuContent #mainMenu,
    #topMenuContent #mainMenuExtended ul {
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
        list-style: none;
        background-image: none;
        clear: both;
    }

    #topMenuContent #mainMenuExtended ul {
        margin: 35px 0 0 0;
    }

    #topMenuContent #mainMenu li,
    #topMenuContent #mainMenuExtended ul li {
        width: 100%;
        font-weight: 600;
        display: block;
        margin: 0;
        outline: none;
        border-bottom: solid #d9d9d9 1px;
        white-space: nowrap;
        overflow: hidden;
    }

    #topMenuContent #mainMenuExtended ul li::before {
        content: none;
    }

    #topMenuContent #mainMenuExtended ul li {
        margin: 0;
        width: 50%;
        overflow: hidden;
    }

    #topMenuContent #mainMenuExtended hr {
        display: none;
    }

    #topMenuContent #mainMenu li.active,
    #topMenuContent #mainMenu li:hover {
        background-image: none;
    }

    #topMenuContent #mainMenu li.active a,
    #topMenuContent #mainMenu li a:active,
    #topMenuContent #mainMenu li a:hover,
    #topMenuContent #mainMenuExtended ul li a:hover {
        background-image: none;
        color: #ed1c24;
    }

    #topMenuContent #mainMenu li a.meble::after {
        display: inline-block;
        vertical-align: 1px;
        content: "";
        border-left: 0.3em solid;
        border-top: 0.3em solid transparent;
        border-right: 0;
        border-bottom: 0.3em solid transparent;
    }

    #topMenuContent #mainMenu li#mainMenuInspire a {
        background-image: none;
        padding-left: 0;
    }

    #topMenuContent #mainMenuExtended ul li a {
        display: block;
        font-size: 13px;
        color: #333;
        padding-top: 12px;
        padding-bottom: 13px;
        text-transform: uppercase;
        text-decoration: none;
    }

    #topMenuContent #mainMenuExtended ul li.active a {
        color: #ed1c24;
    }

    #topMenuContent #mainMenuExtended a.btn-see-all {
        margin: 20px 0 0 0;
    }
}

/* only for MEDIUM */
@media all and (min-width: 768px) and (max-width: 991px) {
    #mainMenu li {
        float: left;
        width: 50%;
        overflow: hidden;
    }

    #mainMenuExtended ul li {
        float: left;
        width: 25%;
    }
}

/* for EXTRA SMALL and SMALL */
@media all and (max-width: 767px) {
    #topItems li {
        margin-left: 15px;
    }

    #topMenuContent.floating #basketSeparator {
        width: 30px;
    }

    #topItems li a.icon .red-quantity {
        top: -3px;
        right: -6px;
        font-size: 9px;
        width: 17px;
        height: 17px;
    }
}

/* only for SMALL */
@media all and (min-width: 576px) and (max-width: 767px) {
    #topMenuContent.floating #topItems {
        width: 30px;
    }

    #topMenuContent.floating #topItems li {
        margin-left: 5px !important;
    }

    #topMenuContent.floating #topSearch {
        width: calc(100% - 193px);
        margin: 0 30px 0 30px;
    }
}

/* up to X-SMALL */
@media all and (max-width: 575px) {
    #topItems {
        width: calc(100% - 214px - 36px - 31px);
    }

    #basketSeparator {
        width: 36px;
        background-position: left 17px top 0;
    }

    #hamburger {
        margin: 0;
    }

    #topSearch {
        margin: 20px 0 0 0;
        width: 100%;
    }

    #topMenuContent.floating #logo {
        display: none;
    }

    #topMenuContent.floating #topItems {
        width: 30px !important;
    }

    #topMenuContent.floating #topSearch {
        width: calc(100% - 106px);
        margin: 0 15px 0 0;
    }
}
