.mode_btn {
    /*margin-top: 2px;*/
    margin-right: 5px;
    float: right;
}
.search-container {
    float: right;
}
.search-item {
    background-color: #fff;
}
.search-item.widget {
    padding: .5rem 1rem;
    margin-bottom: .5rem;
}
.search-item.page {
    padding: 16px 24px;
    margin-bottom: 16px;
}
.search-item p {
    margin-bottom: 0;
}
.search-item:hover {
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
}

.item-search-caption {
    font-size: .8rem;
}

.type_header {
    margin-top: 1rem;
}

.oree-search-div {
    visibility: hidden;
    /*max-width: 170px;*/
    max-width: 13rem;
    position: absolute;
    right: 100%;
}

#static-search-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
}
#static-search-btn:hover {
    border: 1px solid #949494;
}

.oree-search-input,
.static-search-input {
    background: transparent;
    border-radius: unset;
    border: hidden;
    border-bottom: 1px solid #000;
}
.oree-search-input:focus,
.static-search-input:focus {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid #000;
}
.oree-search-filters, .content-search-result {
    position: absolute;
    border: 1px solid #DDD;
    background: #F7F7F7;
    padding: 10px;
    z-index: 9999;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.content-search-result {
    display: none;
    top: 100%;
    right: 5px;
    min-width: 300px;
    width: 75vw;
    max-width: 800px;
    max-height: 70vh;
    overflow-y: auto;
}
.oree-search-filters {
    top: 105%;
    right: 35px;
    min-width: 260px;
}
.content-search-result.loading > * ,
.static-search-result.loading > * {
    opacity: 0.2;
}
.content-search-result.loading:before,
.static-search-result.loading:before {
    content: "Триває пошук...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    /*padding: 22px;*/
    opacity: .7;
    /*width: 100%;*/
    box-sizing: border-box;
}
.static-filters > div {
    margin-left: 15px;
}

@media only screen and (min-width: 1080px) and (max-width: 1190px) {
    .oree-search-input, .oree-search-input:focus {
        background: white;
    }
}

@media only screen and (min-width: 1191px) and (max-width: 1245px) {
    .oree-search-div {
        max-width: 11rem;
    }
}

@media only screen and (max-width: 768px) {
    .content-search-result {
        right: -15%;
        width: 95vw;
    }
}

@media only screen and (max-width: 620px) {
    .search-container {
        display: none;
    }
}