.container.txt-in {
    width: 1130px;
    padding-bottom: 0;
}

.all-command {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 70px;
}
.all-command .item-command {
    box-sizing: border-box;
    background:#FFFFFF; 
    padding: 12px;
    box-shadow: 0px 0px 46px 0px rgba(16, 17, 18, 0.11);
    margin: 1%;
    width: 30.3333333%;
    text-align: center;
}

.all-command .item-command .photo {
    overflow: hidden;
    margin-bottom: 20px;
    max-height: 390px;
}

.all-command .item-command .photo img {
    max-width: 100%;
    height: auto;
}

.all-command .item-command .opis h3.fio {
    margin:0;
    font-size: 22px;
    line-height: 1.2;
    padding: 0;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;     
}

.all-command .item-command .opis .anons {
    margin:0;
    font-size: 16px;
    line-height: 1.2;
    padding: 0;
    font-family: "Glober Book", sans-serif;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 

}


@media screen and (max-width: 1100px) { 
    
    .container.txt-in {
        width: 100%
    }
    
    .all-command .item-command {
        width: 48%;
    }    
}

@media screen and (max-width: 768px) { 
    
    .all-command .item-command .opis h3.fio {
        font-size: 18px;
        margin-bottom: 10px;        
    }

    .all-command .item-command .opis .anons {
        font-size: 14px;
        line-height: 1.2;
        padding: 0;
        font-family: "Glober Book", sans-serif;
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 8px;
        margin-bottom: 15px;
        position: relative;
        overflow: hidden;
        white-space:normal;
        height: 30px;

    }    
    
}

@media screen and (max-width: 600px) { 
    
    .all-command .item-command {
        width: 98%;
    }    
}