#wrapper-header {
    background-color: #3b3f41;
    background: url('default/contour.jpg') repeat top left;
    min-height: 72px;
    /* overflow: hidden; */
    padding: 0;
}

#header {
    max-width: 1240px;
    margin: 0 auto;
    /* overflow: hidden; */ /* AWN */
}

#HeaderBlock {
    /* position: relative; */
    /* z-index: 2; */
    /* z-index: 1; */
    display: inline-block;
    /* float: left; */
    /* height: 20px; */
    width: 140px;
    margin: 22px 0 0 26px;
}

#NavHeaderLogo {
    /* height: 22px; */
}

#NavHeaderLogo a {
    /* display: inline-block; */ /* AWN */
}

#NavHeaderLogo {
    /* width: 152px; */
    /* height: 10px; */
    /* position: relative; */
    /* left: 66px; */
    display: inline-block;
}

#NavHeaderLogo img {
    /* display: block; */ /*AWN*/
    /* display: inline-block; */ /*AWN*/
    width: 100%;
    height: auto;
    /* margin-top: 20px; */
}

@media (max-width: 1024px) {
    #NavHeaderLogo {
        /* height: 20px; */
    }
}

@media (min-width: 1024px) {
    #NavHeaderLogo img {
        /* padding-top: 17px; */
    }
}

#NavHeaderIcons img {
    float: right;
    position: absolute;
    right: 65px;
    top: 15px;
    width: 30px;
    z-index: 1;
    display: none;
}

/*---------- WELCOME ----------*/
#welcome {
    /* position: absolute; */ /*AWN*/
    /* top: 0; */ /*AWN*/
    /* right: 0; */ /*AWN*/
}

#welcome p {
    color: #fff;
    margin: 0;
    line-height: 56px;
    font-size: 0;
    text-transform: capitalize;
}

#welcome p a {
    color: #fff;
    vertical-align: top;
    display: inline-block;
    transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
}

.tmplMYORDERHISTORY #welcome .mydetails,
.tmplMYDETAILS #welcome .mydetails,
#welcome a {
    text-decoration: none;
}

#welcome {
    display: inline-block;
    /* z-index: 21; */ /*AWN*/
    float: right;
}

#welcome .username {
    padding-right: 8px;
}

#welcome .basket,
#welcome .logout,
#welcome .mydetails,
#welcome .wishlist {
    width: 48px;
    height: 72px;
    text-indent: -999px;
}

#welcome .basket {
    display: inline-block;
}

#welcome .logout,
#welcome .wishlist {
    background: url(default/welcome-sprite.png);
    background-repeat: no-repeat;
    background-size: 30px auto;
    background-position: 50% 12px;
}

#welcome .mydetails {
    background: url(default/profile_small.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 60% auto;
}

#welcome .basket {
    background: url(default/basket_small.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 60% auto;
}

#welcome .wishlist {
    background-position: 50% -48px;
    display: none;
}

#welcome .logout {
    background-position: 50% -167px;
    display: none;
}

#welcome .basket.hasitems span:after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #3997d1;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 4px;
}

a.basket,
a.mydetails {
    position: relative;
}

/*a.basket:hover, a.mydetails:hover { background-color: #222 !important; }*/
a.basket:after,
a.mydetails:after {
    background: #fff;
    color: #222;
    content: '';
    display: none;
    font-size: 14px;
    line-height: 40px;
    left: -2.5em;
    overflow: hidden;
    position: absolute;
    z-index: 10;
    text-align: center;
    text-indent: 0;
    top: 65px;
    width: 8em;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
}

a.basket:after {
    content: 'Basket';
}

a.mydetails:after {
    content: 'My Account';
}

a.basket:before,
a.mydetails:before {
    border-top: 16px solid #fff;
    border-right: 16px solid #fff;
    content: '';
    display: none;
    font-size: 16px;
    left: 1em;
    position: absolute;
    top: 60px;
    width: 0;
    z-index: 2;
    transform: rotateZ(45deg);
}

@media (min-width:600px) {
    a.basket:hover:before,
    a.mydetails:hover:before {
        display: block;
    }

    a.basket:hover:after,
    a.mydetails:hover:after {
        display: block;
    }

}

/*---------- END WELCOME ----------*/
@media (min-width:560px) {
    #welcome {
        /* right: 48px; */ /*AWN*/
    }

}

@media (min-width:1024px) {
    #wrapper-header {
        height: 105px;
    }

    #HeaderBlock {
        margin: 27px 0 0 26px;
    }

    #NavHeaderLogo {
        width: 220px;
        /* height: 108px; */
        height: 90px;
        text-align: left;
    }

    #NavHeaderLogo {
        left: 16px;
    }

    #welcome {
        /* top: 8px; */ /*AWN*/
        /* top: 0px; */
        margin-top: 17px;
    }

    #welcome .basket,
    #welcome .logout,
    #welcome .mydetails,
    #welcome .wishlist {
        /* height: 92px; */
    }


}

@media (min-width:1280px) {

    /*#welcome { right: calc(50% - 592px); }*/
}