/* wyszukiwarka */

.search-section .row {
    align-items: center;
}

.search-section .row .col {
    width: 50%;
    padding-top: 6px;
    padding-bottom: 6px;
}

.search-section .row .col.col-breadcrumb {
    justify-content: flex-start;
}

.search-section input {
    width: calc(100% - 60px);
    height: 50px;
    display: block;
    float: left;
    border: none;
    line-height: 50px;
    font-size: 17px;
    font-weight: 300;
    font-weight: 200;
    padding-left: 36px;
    padding-right: 36px;
    background-color: transparent;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top-left-radius: 100px;    
    border-bottom-left-radius: 100px;   
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.05);
}

.search-section input:focus {
    outline: none;

}

.search-section button {
    display: block;
    border: none;
    width: 50px;
    height: 50px;
    display: block;
    float: left;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
    background-color: transparent;
    cursor: pointer;
    background: linear-gradient(to right, rgba(116,118,189,1) 0%,rgba(66,174,157,1) 100%);
    background: #802f91;
    color: white;
    border-top-right-radius: 100px;    
    border-bottom-right-radius: 100px;    
    padding-right: 9px;

}

/* wyszukiwarka wyniki */

.search-results {
    position: fixed;
    background-color: white;
    width: 100%;
    height: calc(100% - 100px);
    z-index: 10;
    top: 0;
    left: 0;
    margin-top: 100px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
}

.searching .search-results {
    visibility: visible;
    opacity: 1;
}

.searching .search-section {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100px;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
    background-color: white;
}

.searching .search-section .breadcrumb, .search-section .col-close {
    display: none;
}

.searching .search-section .col-search {
    width: calc(100% - 260px);
}

.searching .search-section .col-breadcrumb {
    display: none;
}    


.searching .search-section .col-close {
    display: inline-block;
    width: 260px;
}

.searching .search-section .col-close .button {
    max-width: 100%;
    margin: 0;
    float: right;
}

.search-results .row {
    width: 100%;
    flex-wrap: wrap;
    padding-top: 0;
    padding-bottom: 0;
}

.search-results .row .col {
    padding-top: 0;
    padding-bottom: 0;
}

.search-results ul {
    
}

.search-results ul, .search-results ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results ul li {
    padding-top: 24px;
    padding-bottom: 24px;
}

.search-results ul {
    padding-top: 24px;
    padding-bottom: 24px;
}

.search-results ul li:nth-child(odd) {
    background-color: #f9f9f9;
}

.search-results ul li .search {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-results ul li .col-img {
    width: 360px;
    padding-left: 24px;
}

.search-results ul li .col-img .img-container::after {
    opacity: 0;
}

.search-results ul li .col-img .img-container {
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 8px solid #f9f9f9;
}

.search-results ul li:nth-child(odd) .col-img .img-container {
    border-color: white;

}

.search-results ul li .col-img .img-container::before {
    z-index: 5;
    opacity: 0.35;
    visibility: visible;
    background: linear-gradient(to right, rgba(116,118,189,0.85) 0% ,rgba(66,174,157,0.85) 100%);
}


.search-results ul li .col-text {
    width: calc(100% - 360px);
    padding-left: 36px;
    padding-right: 36px;
    display: block;
}

.search-results ul li .col-text .h4 {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 24px;
}

.search-results ul li .col-text .text {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 24px;
    margin-top: -6px;
}

.search-results ul li .col-text .text * {
    font-size: 16px;
    font-weight: 300;
}

.search-results ul li .col-text .button {
    margin-bottom: 0;
}

.searching header {
    visibility: hidden;
    opacity: 0;
}

.searching {
    overflow: hidden;
}

.search-results .load-more {
    margin-bottom: 24px;
}

.search-results .load-more .button {
    padding-top: 18px;
    padding-bottom: 18px;
}

#no-results {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
}

#main-search-form {
    position: relative;
    float: left;
    width: 100%;
    display: block;
    z-index: 0;
}

#search-error {
    position: absolute;
    right: 0;
    top: 0;
    height: 1px;
    margin-left: 120px;
    z-index: 2;
}

#search-error label.error {
    position: absolute;
    left: auto;
    right: 0;
}

#search-error {
    display: none;
}


/* mobial */
@media screen and (max-width: 890px) {

    .search-section .row .col {
        width: 100%;
        padding-top: 0px;
        padding-bottom: 0px;
        justify-content: flex-start;
    }

    .search-section .row .col .full {
        max-width: 420px;
    }

    .search-section .row .col.col-breadcrumb {
        display: none;
    }

    .search-section input {
        width: calc(100% - 54px);
        height: 46px;
        line-height: 46px;
        font-size: 16px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .search-section button {
        width: 46px;
        height: 46px;
        line-height: 45px;
        font-size: 15px;
        padding-right: 9px;
    }

    .searching .search-section {
        height: 84px;
    }

    .searching .search-section .row .col .full {
        width: 100%;
        padding-right: 0;
        max-width: 100%;
    }

    .search-results {
        height: calc(100% - 84px);
        margin-top: 84px;
    }

    .searching .search-section .row .col.col-search {
        width: calc(100% - 66px);
        padding-right: 0;
    }

    .searching .search-section .row .col.col-close {
        width: 66px;
        padding-left: 0;
    }

    .searching .search-section .row .col.col-close .button span {
        display: none;
    }

    .searching .search-section .row .col.col-close .button  {
        width: 48px;
        height: 48px;
        padding: 0;
        text-align: center;
        line-height: 48px;
    }

    .searching .search-section .row .col.col-close .button i {
        margin: 0;
    }

    .search-results .row .col {
        padding-left: 0;
        padding-right: 0;
    }

    .search-results .row .col.col-img, .search-results .row .col.col-text {
        padding-left: 18px;
        padding-right: 18px;
    }

    .search-results .row .col.col-img {
        width: 33%;
    }

    .search-results .row .col.col-text {
        width: 67%;
    }

    .search-results ul li .col-text .h4 {
        font-size: 22px;
    }

}

@media screen and (max-width: 540px) {

    .search-results .row .col.col-img {
        width: 75%;
        margin-bottom: 24px;
    }

    .search-results .row .col.col-text {
        width: 100%;
        text-align: center;
    }

}    
