.purchase__banner {
    padding-bottom: 30px;
    border-bottom: 1px solid #101010;
}

.purchase__banner .banner__text-container p.banner-text__large {
    width: 60%;
}

.purchases__input-field,
.purchases__search {
    width: 100%;
}

.purchases__search {
    margin-top: 100px;
}

.search__input {
    width: 100%;

    padding: 28px;

    background: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid var(--Gray_black-background, #57585A);

    box-shadow: none;

    color: var(--Black, #101010);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.search__apply {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border: none;
    background: none;
    outline: none;

    right: 30px;
    top: 30px;

    cursor: pointer;
}

.search__icon {
    user-select: none;
    pointer-events: none;
}

.purchases__search-result {
    margin-top: 50px;

    display: flex;
    flex-direction: column;
    gap: 30px;

    padding-bottom: 20px;
    border-bottom: 1px solid black;
}

.search-result__bottom-left {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.search-result__bottom {
    align-items: center;
}

.search-result__title {
    color: var(--Black, #101010);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 32px */
}

.search-result__dropdown-field {
    transition: border .1s ease-in-out, box-shadow .1s ease-in-out, background .1s ease-in-out;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    cursor: pointer;

    padding: 10px 20px;
    border-radius: 58px;
    background: var(--grey_select, #E8E8E8);
    border: 1px solid transparent;

    box-shadow: none;
    min-width: 300px;
    user-select: none;
}

.search-result__dropdown-field:not(.expanded) .search-result__dropdown-content {
    display: none;
}

.search-result__dropdown-field.expanded {
    border: 1px solid black;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;

    background: none;
}

.search-result__dropdown-field > *:not(.search-result__dropdown-content) {
    pointer-events: none;
}

.search-result__dropdown-content {
    top: 50px;
    left: 0;
    z-index: 20;
    background: white;
    border-radius: 5px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    padding: 10px;
    overflow: hidden;
}

.search-result__dropdown-content .dropdown-content__list {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
}

.dropdown-content__list li {
    transition: background .1s ease-in-out, box-shadow .1s ease-in-out, color .1s ease-in-out;
    width: 100%;
    overflow-wrap: break-word;
    border: 1px solid transparent;
    border-radius: 5px;

    padding: 5px;

    cursor: pointer;
}

.dropdown-content__list li:hover {
    background: var(--color-orange);
    box-shadow: var(--shadow-button-orange);

    color: white;
}

.search-result__export,
.search-result__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.search-result__export {
    border: none;
    outline: none;
    background: none;
    padding: 0;

    cursor: pointer;

    align-items: center;
    gap: 10px;

    color: var(--orange-gradient, #F54500);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.search-result__export img {
    width: 18px;
    height: 18px;
}

.purchases__list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding-bottom: 30px;
    border-bottom: 1px solid #101010;
}

.purchase-item__documents,
.purchases-item__row,
.purchase-item__column,
.purchases__purchase-item,
.purchases-item__header,
.purchases-item__content {
    display: flex;
}

.purchases-item__content,
.purchase-item__column,
.purchases__purchase-item {
    flex-direction: column;
}

.purchase-item__documents,
.purchases-item__row,
.purchases-item__header {
    flex-direction: row;
}

.purchases-item__header {
    justify-content: space-between;
    gap: 15px;
}

.purchases__purchase-item {
    padding: 30px;
    background: white;
    border-radius: 5px;
}

.purchase-item__title {
    margin: 0;
}

.purchase-item__column {
    gap: 10px;
}

.purchase-item__column .purchase-item__title {
    color: var(--Grey, #B2B2B2);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
}

.purchase-item__column .purchase-item__text {
    color: var(--Black, #101010);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    a {
        color: inherit;
    }
}

.purchases-item__header .purchase-item__column:first-of-type {
    width: 48%;
}

.row__documents .purchase-item__title {
    max-width: 20%;
}

.purchases-item__row .purchase-item__column:first-of-type {
    width: 30%;
}


.purchases-item__row .purchase-item__column:nth-of-type(2) {
    width: 30%;
}

.purchase-item__documents {
    width: 30%;
    gap: 10px;
}

.row__documents {
    justify-content: space-between;
}

.row__documents .purchase-item__title {
    color: var(--Grey, #B2B2B2);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.purchases-item__header,
.purchases-item__row:not(:last-of-type) {
    border-bottom: 1px solid #B2B2B2;
}

.purchases__purchase-item {
    overflow: hidden;
    gap: 30px;
}

.purchases__purchase-item:not(.expanded) .purchases-item__content {
    display: none;
}

.purchases__purchase-item:not(.expanded) .purchases-item__header {
    padding-bottom: 0;
    border-bottom: none;
}

.purchases-item__header,
.purchases-item__row {
    padding-bottom: 30px;
}

.purchases-item__row {}

.row__documents {
    margin-top: 30px;
}

.row__documents .purchase-item__documents .event-page__bottom-item {
    width: calc(50% - 5px);
}

.row__documents .bottom-item__figure-container {
    width: 100%;
    height: 215px;
}

.purchases__pagination {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 18px 0;
}

.purchases-pagination__pages-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.purchases-pagination__page {
    color: var(--Black, #101010);
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%; /* 20px */
}

.purchases-pagination__page.active {
    color: var(--blue-gradient, #1C86FF);
}

.purchase-item__button {
    position: relative;
}

.button__toggle img {
    transition: .2s ease-in-out;
}

.expanded .button__toggle img {
    transform: rotate(180deg);
}

.purchases-item__content {
    transition: opacity .2s ease-in-out, transform .2s ease-in-out;
}

@media screen and (max-width: 1440px) {
    .row__documents .bottom-item__figure-container {
        width: 100%;
    }
}

@media screen and (max-width: 1280px) {
    .row__documents .bottom-item__figure-container {
        height: 132px;
    }

    .purchase-item__documents {
        width: 32%;
    }

    .bottom-item__image img {
        width: 50%;
    }

    .search-result__dropdown-field {
        min-width: 230px;
    }

    .banner__with-title.purchase__banner {
        .banner__text-container.absolute {
            .banner-text__large {
                width: 100%;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .search-result__title {
        font-size: 18px;
    }

    .purchases__search-result {
        gap: 16px;
    }


    .row__documents .purchase-item__title {
        max-width: 50%;
    }

    .purchases-item__header {
        gap: 8px;
        flex-direction: column;
        max-height: 120px;
    }

    .purchases-item__header {
        flex-wrap: wrap;

        .purchase-item__column:first-of-type {
            max-width: 80%;
            min-height: 115px;

            .purchase-item__text {
                display: -webkit-box;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }

    }

    .purchases__purchase-item.expanded .purchases-item__header {
        max-height: 150px;
    }

    .purchase-item__button {
        margin-left: auto;
    }

    .row__documents .bottom-item__figure-container {
        width: 132px;
        height: 138px;

    }

    .purchase-item__column .purchase-item__text {
        font-size: 14px;
    }

    .purchases-item__row:not(:last-of-type) {
        justify-content: space-between;

        .purchase-item__text {
            text-wrap: nowrap;
        }
    }


    .banner__with-title.purchase__banner {
        .banner__text-container.absolute {
            .banner-text__large {
                font-size: 24px;
            }
        }
    }

    .row__documents .purchase-item__documents .event-page__bottom-item, .purchase-item__documents {
        width: auto;
    }

    .search-result__export {
        span {
            font-size: 14px;
        }
    }

    .search-result__title {
        font-size: 18px !important;

        * {
            font-size: 18px !important;
        }
    }

    .search-result__bottom-left {
        margin-top: 5px !important;
    }
}

@media (max-width: 700px) {
    .purchases-item__row:nth-child(1) {
        flex-direction: column;
        .purchase-item__column {
            width: 100% !important;
        }
    }

    .purchase-item__button {
        order: 2;
    }

    .purchases-item__header {
        flex-direction: row;
    }

    .purchases-item__header .purchase-item__column:nth-of-type(2) {
        order: 3;
    }

    .purchases-item__header .purchase-item__column:nth-of-type(3) {
        order: 4;
    }

    .purchases-item__header .purchase-item__column:first-of-type {
        width: 80%;
    }

    .purchases-item__header {
        & .purchase-item__column:first-of-type {
            .purchase-item__text {
                -webkit-line-clamp: 3;
            }
        }
    }

    .purchases-item__header {
        .purchase-item__column:first-of-type {
            min-height: 75px;
        }
    }

    .search-result__bottom-left, .search-result__bottom {
        flex-direction: column !important;
        align-items: initial !important;
    }

    .search-result__bottom {
        gap: 15px;
    }

    .search-result__export {
        margin-left: auto;
    }

    .banner__with-title.purchase__banner:not(.banner__with-title_service) {
        .banner__image-wrapper {
            height: auto !important;
        }
        .contract-item > img {
            height: 128px;
            border-radius: 5px;
            overflow: hidden;
            position: static;
        }
    }

    .banner__with-title.purchase__banner:not(.banner__with-title_service) {
        .banner__text-container.absolute {
            position: static;
            width: 100%;
            height: auto;
            padding: 0;

            * {
                color: var(--Black, #101010);
                font-size: 18px !important;
                margin-top: 20px;
            }
        }
    }

    .purchases__list {
        gap: 8px;
    }

    .search-result__dropdown-content {
        width: 80vw !important;
    }

    .search-result__dropdown-field.last-child .search-result__dropdown-content {
        z-index: 80;
    }
}

