.wrapper-atrn-widget-main-content {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    align-items: center;
}
.box-ajax-search-atrn {
    display: flex;
    justify-content: center;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}
#searchFormAtrn {
    display: flex;
    outline: 2px solid transparent;
    outline-offset: 2px;
    border: 1.5px solid rgb(224 224 226);
    border-radius: .5rem;
    margin: .5rem 0 !important;
    flex: 1;
    width: 100%;
    position: relative;
}
#keyword-atrn {
    height: 100%;
    flex: 1;
    display: flex;
    padding: 10px 12px;
    font-size: 15px;
    border: 0;
    background: transparent;
}
#searchFormAtrn .search-sample-atrn {
    display: flex;
    padding: 0 12px;
    font-size: 15px;
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: 0 !important;
    justify-content: center;
    align-items: center;
    background: transparent;
    outline: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
}
.error-box-atrn {
    color: #721c24;
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    margin-bottom: 10px;
    display: none;
    width: 100%;
}
#datafetch-atrn {
    position: absolute;
    background: #fff;
    top: 60px;
    box-shadow: 0px 0px 44px -29px rgba(0, 0, 0, 0.28);
    color: #515151;
    width: 100%;
    border-radius: 10px;
    z-index: 10;
    overflow-y: scroll;
    padding: 0.75rem;
    max-height: 350px;
    display: -ms-grid;
    display: grid;
    width: 100%;
    grid-column-gap: 15px;
    grid-row-gap: 20px;
    border: 1.5px solid rgb(224 224 226);
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media (max-width:768px){
    #datafetch-atrn {
        grid-template-columns: 1fr 1fr;
    }
}
.btns-atrn, .btn-add-search-atrn {
    cursor: pointer;
}
.search-result-item-atrn {
    border: 1.5px solid rgb(224 224 226);
    padding: 4px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#datafetch-atrn .image-search-result-atrn {
    border-radius: 7px;
}
.title-search-result-atrn {
    display: flex;
    flex: 1;
    width: 100%;
    font-size: 15px;
    text-align: center;
    margin-bottom: auto;
    margin-top: 0;
}
.btn-add-search-atrn {
    background: gold;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    font-weight: 600;
    padding: 3px;
    margin-top: 5px;
}
.result-value-atrn::before{
    content: "امتیاز: ";
}
.search-result-item-atrn img {
    height: 200px;
    width: 100%;
    object-fit: contain;
}