﻿#disigner-lirary {
    padding-top: 4.6%;
    padding-bottom: 8%;
}
#disigner-lirary h1 {
    color: var(--blue-color);
}
#breadcrumbs {
    margin-bottom: 29px;
}
#search-form {
    position: absolute;
    right: 0;
    top: -129px;
    width: 215px;
    height: 45px;
}
#search-form .submit {
    display: block;
    width: 45px;
    height: 45px;
    position: absolute;
    left: 16px;
    z-index: 2;
    background: transparent url(../images/search-icon.svg) no-repeat;
    background-position: center;
    border: none;
    font-size: 0;
}
#search-form .submit:hover {
    background-image: url(../images/search-icon-hover.svg)
}
#search-form input {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 15px;
    line-height: 17px;
    height: 45px;
    padding: 11.5px 11px 11.5px 60px;
}
#search-form input::placeholder {
    color: #8F90A6;
    padding-right: 10px
}
.section-search {
    position: relative;
}
.list-disigner {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10.5px;
}

.list-disigner .item-disigner {
    width: calc(20% - 21px);
    position: relative;
    margin: 0 10.5px 64px 10.5px;
}

.item-disigner .file-type {
    /* background-color: #10CFC9; */
    background-color: var(--blue-color);
    color: #fff;
    font-family: var(--font-body-text);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 35px;
    /* identical to box height, or 219% */
    align-items: center;
    letter-spacing: 0.02em;
    position: absolute;
    top: 18px;
    right: 15px;
    z-index: 3;
    text-transform: uppercase;
    padding: 2px 13px;
    display: none;
}

.item-disigner p {
    font-family: var(--font-body-text);
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    /* identical to box height, or 34px */
    letter-spacing: -0.01em;

    /* blue */
    color: var(--blue-color);
    text-align: center;
}
.border-list-disigner {
    margin-top: 88px;
}
.image-thumb {
    margin-bottom: 39px;
    overflow: hidden;
    position: relative;
}
.image-thumb img.thumbnail {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
    max-width: 150px;
}
.wrap-pagination.pagination {
    padding-top: 7px;
}
#disigner-lirary .breadcrumbs-item span span:not(.breadcrumb_last):after {
    margin: 0 7px;
}
.demo-size {
    opacity: 0 !important;
    width: 100%;
    height: auto;
    max-width: 117px;
}
.message-no-post {
    padding-top: 56px;
}
.login-to-view {
    margin: 35px 0 0 0;
    display: inline-block;
    width: auto;
}
@media (max-width: 1280px) {
    #search-form {
        top: -100px;
    }
    .border-list-disigner {
        margin-top: 45px;
    }
}
@media (max-width: 950px) {
    #search-form {
        position: initial;
        width: 100%;
        margin-bottom: 20px;
    }
}
@media(max-width: 800px) {
    .item-disigner p {
        font-size: 18px
    }
}
@media(max-width: 767.98px) {
    .image-thumb {
        margin-bottom: 7px;
    }
    .filter-popup-button {
        text-decoration: none !important;
    }
    .filter-popup-button svg {
        position: relative;
        top: 3px;
        right: -5px;
    }
    .list-disigner .item-disigner {
        width: calc(33.33333% - 21px);
        margin-bottom: 45px;
    }
    #search-form {
        margin-bottom: 16px;
    }
    #search-form input {
        padding-left: 52px;
    }
    #search-form .submit {
        left: 8px;
    }
    #disigner-lirary {
        padding-top: 23px;
        padding-bottom: 75px;
    }
    #disigner-lirary .count-item {
        margin: 14px 0;
        font-style: normal;
        font-size: 14px;
        line-height: 22px;
    }
    .border-list-disigner {
        margin-top: 42px;
    }
    #disigner-lirary .section-search {
        display: block;
        margin-top: 14px;
        margin-bottom: 9px;
    }
    #breadcrumbs,
    .grounp-filter {
        display: none !important;
    }
    .item-disigner .file-type {
        font-size: 14px;
        line-height: 17.5px;
        font-weight: 400;
        letter-spacing: 0.01em;
        padding: 3.5px 6px;
        top: 5.5px;
        right: 8px;
    }
    .message-no-post {
        padding-top: 80px;
        padding-bottom: 50px;
    }
}

@media(max-width: 575px) {

    .list-disigner {
        margin: 0 -12px;
    }
    .list-disigner .item-disigner {
        width: calc(50% - 24px);
        margin: 0 12px 45px 12px;
    }
    .message-no-post {
        margin-bottom: -40px;
    }
}