.elementor-pg-group-container.view-type-grid .db-grid-column-1 .pm-group-elementor {
    width: 99%;
    margin: .5%;
}

.elementor-pg-group-container.view-type-grid .db-grid-column-2 .pm-group-elementor {
    width: 49%;
    margin: .5%;
}

.elementor-pg-group-container.view-type-grid .db-grid-column-3 .pm-group-elementor {
    width: 32%;
    margin: .5%;
}

.elementor-pg-group-container.view-type-grid .db-grid-column-4 .pm-group-elementor {
    width: 24%;
    margin: .5%;
}

.elementor-pg-group-container.view-type-grid .db-grid-column-5 .pm-group-elementor {
    width: 19%;
    margin: .5%;
}

div#pm_result_pane_user.user-db-grid-column-1 .pg-elementor-users-list #search_result {
    width: 96%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-2 .pg-elementor-users-list #search_result {
    width: 48%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-3 .pg-elementor-users-list #search_result {
    width: 31%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-4 .pg-elementor-users-list #search_result {
    width: 23%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-5 .pg-elementor-users-list #search_result {
    width: 18%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-6 .pg-elementor-users-list #search_result {
    width: 14.5%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-6 .pg-elementor-users-list #search_result:nth-child(6n) {
    margin-right: 0px !important; 
}

div#pm_result_pane_user.user-db-grid-column-7 .pg-elementor-users-list #search_result {
    width: 12%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-7 .pg-elementor-users-list #search_result:nth-child(7n) {
    margin-right: 0px !important; 
}

div#pm_result_pane_user.user-db-grid-column-8 .pg-elementor-users-list #search_result {
    width: 10.5%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-8 .pg-elementor-users-list #search_result:nth-child(8n) {
    margin-right: 0px !important; 
}

div#pm_result_pane_user.user-db-grid-column-9 .pg-elementor-users-list #search_result {
    width: 9%;
    margin: auto;
    text-align: center;
}

div#pm_result_pane_user.user-db-grid-column-10 .pg-elementor-users-list #search_result {
    width: 8%;
    margin: auto;
    text-align: center;
}

div#search_result.user-list-view {
    display: flex;
}

.pmagic .pm-all-group-container .pm-group-list-view {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
}

.pmagic .pm-all-group-container .pm-group-list-view .pm-group-name-desc {
    width: 65%;
    padding: 0px 0px 12px 0px;
}

.pmagic .pm-element-group-list-view-info span {
    width: auto;
    padding: 4px 6px;
    display: inline-block;
    text-align: center;
    font-size: 15px;
    line-height: 14px;
}

.pmagic .pm-all-group-container .pm-group-list-view .pm-group-name-desc .pm-element-group-list-view-info span {
    color: inherit;
}

.pmagic .pm-all-group-container .pm-group-list-view .pm-group-name-desc .pm-element-group-list-view-info {
    margin-top: 11px;
    float: left;
    width: auto;
    color: #949595;
    color: #949595;
    background-color: #f1f1f1;
    padding: 6px 16px;
    border: 1px solid #ececec;
    border-radius: 2px;
}

.elementor-pg-group-container.view-type-grid .db-grid-column-4 .pm-group-elementor .pm-group-logo-img img {
    max-height: 128px !important;
}
.elementor-pg-group-container.view-type-grid .db-grid-column-5 .pm-group-elementor .pm-group-logo-img img {
    max-height: 100px !important;
}


@media only screen and (max-width: 767px) {
    
    /*--- Users Block---*/

    div#pm_result_pane_user.user-mb-grid-column-1 .pg-elementor-users-list #search_result {
        width: 100%;
    }

    div#pm_result_pane_user.user-mb-grid-column-2 .pg-elementor-users-list #search_result {
        width: 48%;
    }

    div#pm_result_pane_user.user-mb-grid-column-3 .pg-elementor-users-list #search_result {
        width: 31%;
    }

    div#pm_result_pane_user.user-mb-grid-column-4 .pg-elementor-users-list #search_result {
        width: 23%;
    }

    div#pm_result_pane_user.user-mb-grid-column-5 .pg-elementor-users-list #search_result {
        width: 18%;
    }

    div#pm_result_pane_user.user-mb-grid-column-6 .pg-elementor-users-list #search_result {
        width: 14%;
    }

    div#pm_result_pane_user.user-mb-grid-column-7 .pg-elementor-users-list #search_result {
        width: 12%;
    }
    
     div#pm_result_pane_user.user-mb-grid-column-8 .pg-elementor-users-list #search_result {
        width: 10.5%;
    }
    
    div#pm_result_pane_user.user-mb-grid-column-9 .pg-elementor-users-list #search_result {
        width: 9%;
    }
    
    div#pm_result_pane_user.user-mb-grid-column-9 .pg-elementor-users-list #search_result {
        width: 8%;
    }
    
        /*--- Group Block---*/
        
        .elementor-pg-group-container.view-type-grid .mb-grid-column-2 .pm-group-elementor .pm-group-logo-img img {
            max-height: 80px !important;
        }
        
        .elementor-pg-group-container.view-type-grid .mb-grid-column-3 .pm-group-elementor .pm-group-logo-img img {
            max-height: 75px !important;
        }
        
        .elementor-pg-group-container.view-type-grid .mb-grid-column-4 .pm-group-elementor .pm-group-logo-img img {
            max-height: 60px !important;
        }
        
        .elementor-pg-group-container.view-type-grid .mb-grid-column-5 .pm-group-elementor .pm-group-logo-img img {
            max-height: 45px !important;
        }
    
        .elementor-phmagic .elementor-pg-group-container.view-type-grid .mb-grid-column-1 .pm-group-elementor {
            width: 99%;
            margin: .5%;
        }

        .elementor-phmagic .elementor-pg-group-container.view-type-grid .mb-grid-column-2 .pm-group-elementor {
            width: 49%;
            margin: .5%;
        }

        .elementor-phmagic .elementor-pg-group-container.view-type-grid .mb-grid-column-3 .pm-group-elementor {
            width: 32%;
            margin: .5%;
        }

        .elementor-phmagic .elementor-pg-group-container.view-type-grid .mb-grid-column-4 .pm-group-elementor {
            width: 24%;
            margin: .5%;
        }

        .elementor-phmagic .elementor-pg-group-container.view-type-grid .mb-grid-column-5 .pm-group-elementor {
            width: 19%;
            margin: .5%;
        }
        
        
        
        /*--End::- Group Block---*/
    
}

/*--Users Block---*/

.elementor-users-widget-container .el-profile-avatar img {
    width: 100%;
}

.elementor-users-widget-container .pg-elementor-users-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: center;

}

.elementor-users-widget-container .pg-elementor-users-list #search_result {
    text-align: center;
    margin: 10px 1% !important;
}

/*---Groups Col---*/

.elementor-pg-group-container .pm-group-elementor .pm-group-info .pm-group-logo {
    padding: 5px 0;
    justify-content: center;
}

.elementor-pg-group-container .pm-group-elementor .pm-group-info .pm-group-logo {
    overflow: hidden;
    position: relative;
    max-height: 200px;
}

.elementor-pg-group-container .pm-group-elementor .pm-group-info .pm-group-logo .pm-group-logo-img img {
    -webkit-animation: pm-fadein 1s linear 1;
    -moz-animation: pm-fadein 1s linear 1;
    -o-animation: pm-fadein 1s linear 1;
    animation: pm-fadein 1s linear 1;
    margin: auto!important;
    padding: 0!important;
    max-height: 165px;
    width: auto;
    transition: 1s;
    position: relative;
    z-index: 8;
}

.elementor-pg-group-container .pm-group-elementor  {text-align: center}

.elementor-pg-group-container .pm-group-elementor .pm-group-info .pm-group-logo .pm-group-bg {
    position: absolute;
    display: block;
    width: 200%;
    height: auto;
    top: -50%;
    left: -50%;
    z-index: 1;
}

.elementor-pg-group-container .pm-group-elementor .pm-group-info .pm-group-logo .pm-group-bg img {
    height: 100%;
    width: 100%;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.elementor-pg-group-container .pm-group-elementor .pm-group-info .pm-group-desc {
    word-break: normal;
    line-height: 1.5em;
    height: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*-- Theme Fixes---*/


.elementor-pg-group-container.view-type-grid .db-grid-column-4 .pm-group-elementor .pm-group-logo-img img {
    height: 105px;
    object-fit: cover;
}

.elementor-pg-group-container.view-type-grid .db-grid-column-3 .pm-group-elementor .pm-group-logo-img img{  
    height: 160px;
    object-fit: cover;}

.elementor-pg-group-container.view-type-grid .db-grid-column-5 .pm-group-elementor .pm-group-logo-img img {
    height: 90px;
    object-fit: cover;
}