.header-top .h-search {
    position: relative;
    border-bottom: 1px solid #4a4a4a;
}

.header-top .h-search:after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 32px;
    height: 32px;
    background: url('/local/templates/svarbery_1.0/icon/search.svg') no-repeat right center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    background-size: contain;
    top: 40%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.header-top .h-search input[name="q"] {
    height: 100%;
    padding: 0.5em 0.25em;
    outline: none;
    border: none;
    font-size: 16px;
}

.header-top .h-search input[name="s"] {
    width: 0;
    height: auto;
    visibility: hidden;
    padding: 0;
}

.header-top .h-search input[name="q"]:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

div.title-search-result {
    /*display: none;*/
    display: block;
    overflow: hidden;
    z-index: 1000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

table.title-search-result {
    border-collapse: collapse;
    border: none;
    width: 100%;
}

table.title-search-result th {
    background-color: #f5f5f5;
    font-size: 15px;
    color: #4a4a4a;
    font-weight: normal;
    padding: 2px 12px 2px 14px;
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
    width: 1%;
}

table.title-search-result td {
    background-color: white;
    color: black;
    font-weight: normal;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: left;
    line-height: 1.3;
}

table.title-search-result td.title-search-item {
    padding: 5px 15px;
}

table.title-search-result td.title-search-item a {
    display: block;
    padding-left: 4px;
    padding-right: 15px;
    text-decoration: none;
    vertical-align: top;
    font-size: 15px;
    color: #4a4a4a;
}

table.title-search-result td.title-search-item img {
    vertical-align: top;
}

table.title-search-result td.title-search-item b {
    color: #e2581d;
    font-weight: normal;
}

table.title-search-result tr.title-search-selected td,
table.title-search-result tr.title-search-selected a,
table.title-search-result tr.title-search-selected td.title-search-more a {
    background-color: #f5f5f5;
}

table.title-search-result td.title-search-more {
    font-size: 11px;
    font-weight: normal;
    padding-right: 15px;
    padding-left: 24px;
    padding-top: 0;
}

table.title-search-result td.title-search-more a {
    padding-left: 12px;
    padding-right: 15px;
    text-decoration: none;
    color: #999999;
}

table.title-search-result td.title-search-all {
    padding: 5px 15px;
}

table.title-search-result td.title-search-all a {
    display: block;
    padding-left: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    color: #4a4a4a;
}

table.title-search-result td.title-search-separator,
table.title-search-result th.title-search-separator {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 4px;
}

div.title-search-fader {
    display: none;
    background-position: right top;
    background-repeat: repeat-y;
    position: absolute;
}

#NXSearchForm .search__barcode-wrapper {
    display: none;
    position: absolute;
    width: 42px;
    height: 42px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 86px;
    cursor: pointer;
    z-index: 1;
    padding: 6px 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#NXSearchForm .search__barcode {
    background: url("/local/templates/svet-sharov-adaptiv/images/barcode.svg") no-repeat;
    background-size: 100%;
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 1300px) {
    .header-top .h-search {
        width: 30vw;
        max-width: 430px;
    }

    .header-top .h-search input[name="q"] {
        width: 28vw;
        max-width: 360px;
    }
}

@media (max-width: 1024px) {
    #NXSearchForm .search__barcode-wrapper {
        display: block;
    }
}