/* MAKE OFFER PLUGIN */

#moModal, #moModal .modal-content, #moModal .modal-content .modal-iframe{
    border-radius: 10px;
}

.mo-button-box{
    background-color: #2563EB;
    border-radius: 20px;
}

.mo-button-box:not(.mo-loading):hover{
    background-color: #1977F2;
}

.mo-head{
    font-size: 18px;
    color: #333;
}

.mo-show input[type="text"], .mo-show select, .mo-show textarea, .mo-two input[type="text"]{
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    padding: 10px;
    resize: none;
    width: 100%;
}

.mo-show .mo-input-wrap > span{
    color: #fff;
    background-color: #2563EB;
}

.mo-show input:focus, .mo-show select:focus, .mo-show textarea:focus {
    border-color: #a3a3a3;
}

.osp-promote-form .osp-pb-line select{
    width: 100%;
}

/* BUSINESS PROFILE */

.bpr-prof .bpr-row-wrap{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background-color: transparent;
}

.bpr-prof .bpr-row-inf{
    width: 100%;
    float: none;
    border: 1px solid #e2e6ec;
    background-color: #f7fbff;
    border-radius: 7px;
    padding: 25px 10px;
}

.bpr-prof .bpr-row-inf:hover{
    background-color: #eaf2ff;
    border-color: #2563eb;
    transition: background 0.17s, border-color 0.17s;
}

.bpr-prof form .bpr-row-inf label>span{
    font-size: 14px;
    color: #8492a6;
}

/* CHAT */

.chat-input-area{
    flex-wrap: wrap;
}

.chat-input-area .attachments-preview:has(.attachment-preview){
    width: 100%;
}

.chat-input-area .attachments-preview{
    width: 100%;
    display: flex;
    gap: 10px;
}

.chat-input-area .attachment-preview{

}

.chat-main .attachments-preview img{
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.chat-list-item .avatar{
    flex: none;
}

.chat-list-item .info{
    overflow: hidden;
}

.chat-list-item .time{
    margin-bottom: auto;
}
.row.price .line.input-box{
    display: flex;
    justify-content: space-between;
}

.row.price .line.input-box input{
    width: calc(50% - 2px);
}

#item-sheet .sheet-body .listing__side-inner{
    top: 0;
}

.cap-search.cap-mobile-mode input[type="checkbox"],
.cap-search.cap-mobile-mode input[type="radio"]{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (min-width: 768px){
    #item-sheet #item-sheet-body{
        /*padding-top: 40px;*/
    }
}

@media screen and (max-width: 992px){
    #search-filters-mobile .cap-body{
        display: none;
    }

    div#search-form-wrapper{
        height: calc(100% - 42px);
    }
}

@media screen and (max-width: 767px){
    #moModal {
        top: unset;
        bottom: 0;
        left: 0;
        width: 100% !important;
        max-height: calc(100% - 100px) !important;
        min-height: 60%;
        transform: unset;
        max-width: unset;
    }

    .mo-head{
        background-color: #2563EB;
        color: #fff;
    }

    #moModal .modal-close{
        color: #fff;
    }

    .mo-row.mo-row-comment{
        margin-top: auto;
        margin-bottom: 60px;
    }

    .mo-box-content{
        display: flex;
        flex-direction: column;
    }

    #epsModal.modal-fullscreen{
        top: unset;
        right: unset;
        width: 100% !important;
        max-height: calc(100% - 100px) !important;
        min-height: 80%;
        transform: unset;
        border-radius: 10px 10px 0 0;
    }

    .modal-cover{
        z-index: 100;
    }

    #moModal, #moModal .modal-content, #moModal .modal-content .modal-iframe {
        border-radius: 10px 10px 0 0;
    }

    #epsModal .modal-close{
        box-shadow: none;
        background-color: transparent;
        color: #fff;
        top: 3px;
    }

    .osp-promote-form .osp-pb-line label.osp-chk{
        min-width: unset;
    }

    #body-item-post .osp-promote-form .osp-pb-line .osp-select{
        width: auto;
        flex: 0;
        padding: 0;
        margin-left: 10px;
    }

    .bpr-prof .bpr-row-wrap{
        grid-template-columns: 1fr;
    }

    .row.price .line.input-box .delim{
        display: none;
    }

    .row label {
        margin-bottom: 8px;
        display: inline-block;
    }

    #item-forms .content,{
        height: 100%;
    }

    #item-forms .content form{
        height: 100%;
    }



    .osp-item{
        padding: 10px 0;
    }

    .osp-item .osp-img{
        display: block;
        position: static;
        width: 50%;
        height: auto;
        margin: 0 auto 10px;
    }

    .osp-item .osp-img img{
        position: static;
        width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
    }

    .osp-item .osp-right{
        margin-bottom: 0;
    }

    .osp-stat>span.osp-none{
        margin: 0;
    }
}