@media only screen and (min-width: 768px) {

    #top
    {
        position: relative; /* needed for z-index */
        z-index: 10000; /* fix box layout for some customer */
    }

    #top > .col-full
    {
        height: auto !important;
        line-height: 0;
    }

    #top ul.top-navigation > li.parent > a:after {
        margin-top: 0 !important;
    }

#top ul.nav-search
{
    display: inline-block;
    float: right;
}

#top ul.nav-search > li > a {
    display: inline-block;
    padding: 1em;
    vertical-align: top;
}

#top ul.nav-search > li > a:before {
    font-family: "FontAwesome";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    text-indent: 0;
    line-height: 2;
    content: "\f002";
    display: inline-block;
    position: relative;
    text-indent: 0;
    line-height: 1; }

    #top ul.nav-search > li > a:after {
        margin-top: 0 !important;
    }
#top ul.nav-search > li > ul {
    width: auto;
}

#top ul.nav-search > li > ul > li > div {
    background: #f0f0f0;
    width: 12em;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    margin: 0; }

#top ul.nav-search li:hover ul > li > div {
    display: block; }

#top ul.nav-search .sub-menu .menu-item .widget_search {
    padding: 10px;
    background-color: rgb(85, 85, 85);
    right: -50px;
    top: -11px;
}

#top ul.nav-search .sub-menu .menu-item .widget_search form {
    margin: 0;
    width: 100%;
    border: none;
    background-color: white;
}

#top ul.nav-search .widget_woo_search {
    position: static;
    margin-left: 12px;
    margin-right: 12px;
}

#top ul.nav-search .widget_woo_search .searchform {
    margin: 0;
    border: 0; }

#top ul.nav-search .widget_woo_search .searchform .s {
    padding: 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

#top ul.nav-search .widget_woo_search .searchform button.submit {
    top: 7px;
    right: 6px; }

    #top ul.nav-search .widget_woo_search .searchform button.submit:before {
        font-size: 13px;
    }

/* Search (WooCommerce) dropdown */
#top ul.nav-search .widget_product_search {
    position: static;
    margin-left: 12px;
    margin-right: 12px;
    padding: 0;
}

#top ul.nav-search .widget_product_search #s {
    margin: 0;
    border: 0;
    display: inline-block; }

#top ul.nav-search #searchform button.submit {
    background: none;
    color: #666;
    position: absolute;
    top: 8px;
    right: 5px;
    padding: 0; }
#top ul.nav-search #searchform button.submit:before {
    color: #666;
}

#top .cart .cart-contents,
#top .rss .sub-rss a
{
    padding-bottom: 5px !important;
}

#top .cart .sub-menu .widget {
    font-size: 13px;
    padding: 10px;
}

#top .cart .sub-menu
{
    right: 0;
    left: auto;
}

#top .cart .cart_list
{
    width: auto;
    padding-left: 0;
}


#top .nav.rss > .sub-rss > a
{
    padding-bottom: 0.5em !important;
}

}