/* block top search */

#search_block_top {
    position: absolute;
    right: 26%;
    top: 34px;
}

#search_block_top p {
    padding: 0;
}

#search_block_top #search_query_top {
    padding: 0 5px;
    height: 23px;
    width: 300px;
    /* 310 */
    border: 1px solid #666;
    border-right: 0 !important;
    color: #666;
    background: url(img/bg_search_input.png) repeat-x 0 0 #fff;
    float: left;
}

#search_block_top .button {
    border: none;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    background: url(img/bg_search_submit.png) repeat-x 0 0 #101010;
    float: left;
    height: 25px;
}

form#searchbox {
    padding-top: 5px;
}

form#searchbox label {
    color: #333;
    margin-bottom: 1px;
}

form#searchbox input#leo_search_query_block {
    border: 1px solid #cccccc;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    height: 18px;
    margin-top: 10px;
}

form#searchbox input#search_button {
    padding: 1px 4px;
}

.list-cate-wrapper {
    position: relative;
}

.list-cate {
    width: 100%;
    padding: 0px;
}

.cate-item {
    display: block;
    padding: 5px;
}

#leosearchtopbox a.cate-item.active,
#leosearchtopbox a.cate-item:hover,
#leosearchbox a.cate-item.active,
#leosearchbox a.cate-item:hover {
    background: #c0282d;
    color: #fff;
}

#dropdownListCate,
#dropdownListCateTop {
    cursor: pointer;
    display: block;
    padding: 5px 0px 5px 15px;
    width: 100%;
}

#dropdownListCateTop span {}

#leosearchtopbox #dropdownListCateTop:hover,
#leosearchbox #dropdownListCate:hover {
    color: #414141;
}


/*****************molify****************/

#leo_search_block_top .block_content {
    /* border: 1px solid rgba(0, 0, 0, 0.25); */
    background: #ececec;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#leosearchtopbox input {
    background: transparent;
    border: 1px solid transparent;
}

#leo_search_top_button {
    position: absolute;
    right: 0;
    top: 0px;
    background: #d12525;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0px;
}

#leo_search_top_button:hover {
    background: #fff;
    color: #d12525;
}

#leo_search_top_button .search {
    color: white;
}

#leosearchtopbox .list-cate-wrapper {
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 19px;
    width: 100%;
}

.ac_results {
    width: calc(73% - 58px)!important;
    left: auto!important;
    right: 58px!important;
    max-height: 491px;
    overflow: auto;
}

@media (max-width: 991px) {
    #leosearchtopbox .list-cate-wrapper {
        display: none;
    }
}

#leo_search_block_top {
    float: left;
    width: 100%;
    position: relative;
}

#leo_search_block_top .title_block {
    display: none;
}

#leosearchtopbox>label {
    display: none;
}

#leo_search_block_top .leoproductsearch-result {
    width: 73%;
    display: inline-block;
    margin: 3px 0;
    border-left: 1px solid rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
    #leo_search_block_top .leoproductsearch-result {
        border: none;
    }
}

.leoproductsearch-loading.cssload-speeding-wheel {
    width: 30px;
    height: 30px;
    text-align: center;
    position: absolute;
    top: 4px;
    right: 4px;
    display: none;
    margin: 0 auto;
}


/*WYSZUKIWARKA*/

#header #wyszukiwarka-leo .block-form {
    z-index: 999999;
    position: fixed;
    display: block;
    width: 100%;
    height: fit-content;
    left: 0;
    top: -100%;
    bottom: 0px;
    background: #ffffff;
    visibility: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#header #wyszukiwarka-leo .block-form.active {
    top: 0;
    opacity: 1;
    filter: alpha(opacity=100);
    visibility: visible;
}

#header #wyszukiwarka-leo .block-form.active .szukajka {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 50px 0;
}

#header #wyszukiwarka-leo .szukajka #leo_search_block_top {
    display: block;
    width: 50%;
}

#leo_search_block_top .icon-open-search .icon-search {
    display: inline-block;
    vertical-align: middle;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

@media (max-width: 1199px) and (min-width: 992px) {
    #header #wyszukiwarka-leo .szukajka #leo_search_block_top {
        width: 60%;
    }
}

@media (max-width: 991px) {
    #header #wyszukiwarka-leo .szukajka #leo_search_block_top {
        width: 75%;
    }
}

#ikonka-wyszukiwarki {
    text-align: center;
    padding: 5px;
}

#ikonka-wyszukiwarki .search_title.hidden-sp {
    display: block;
}

#wyszukiwarka-leo .over-layer {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    width: 100%;
    height: 100%;
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 999999;
    background-color: #0000009e;
}

#wyszukiwarka-leo .over-layer.active {
    top: 0;
}

#wyszukiwarka-leo .close-overlay {
    z-index: 9999999;
    cursor: pointer;
    display: inline-block;
    position: fixed;
    top: 40px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    right: 5%;
}

#wyszukiwarka-leo .close-overlay.active {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

#wyszukiwarka-leo .list-cate-wrapper .dropdown-menu {
    transform: translate3d(2px, 38px, 0px)!important;
    max-height: 410px;
    overflow: auto;
}

#leo_search_block_top .dropdown-menu.show {
    transform: translate3d(0px, 45px, 0px) !important;
    max-height: 370px;
    overflow: scroll;
}