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

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

    #top #top-nav
    {
        display: inline-block;
        vertical-align: middle;
        float: none;
    }

    #top div.col-full ul:not(.sub-menu) > li:not(.menu-item):before
    {
        content:'';
        height:100%;
        width: 1px;
        display: inline-block;   vertical-align: middle;
    }
    #top div.col-full > ul > li
    {
        height:100%;
        display: inline-block;   vertical-align: middle;
        box-sizing:border-box;
    }
    #top div.col-full ul li > a
    {
        display:inline-block;
        vertical-align: middle !important;
        float: none;
    }

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

    #top > .col-full > * {
        height: 100% !important;
        display: inline-block;
    }

    #top > .col-full > h3 {
        display: none;
    }

    #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,
    #top ul.cart > 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.cart, #top ul.nav-search.nav, #top ul.rss.nav {
        margin: 0;
    }

    #top ul.nav.cart > li > a:after, #top ul.nav-search.nav > li > a:after {
        display: none;
    }

    #top ul.cart > li > a:before {
        content: "\f07a";
    }

    #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;
        margin: 0;
        text-align: center;
    }

    #top .cart .sub-menu .widget a.remove {
    display: none;
        
    }

    #top .cart .sub-menu .widget .mini_cart_item {
        display: table;
    }

    #top .cart .sub-menu .widget .mini_cart_item > * {
        display: table-cell;
    }
    #top .cart .sub-menu .widget .mini_cart_item * {
        vertical-align: middle;
        float: none;
    }
    #top .cart .sub-menu .widget .mini_cart_item img {
        margin: 5px;
    }
    #top ul.cart_list.product_list_widget {
        display: block;
        visibility: initial;
        position: relative;
        left: initial;
    }

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

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

    #top > .col-full > .rss > .sub-rss > a:before {
        content: "\f09e";
        font-family: FontAwesome;
    }

    #top ul.nav > li.menu-item {
        line-height: 1.538;
    }

    #top ul.nav li.menu-item > a > * {
        vertical-align : middle;
    }

    #top ul.nav li.menu-item > a > i {
        margin : 0 5px;
    }
    #top ul.nav li.menu-item > a > i.center-block{
        margin : 0;
        display : block;
        text-align : center;
    }
    #top ul.nav li.menu-item > a{
        text-align : initial;
    }
}