.section_gallery_repair {
    margin-bottom: 25px;
}

.gallery_repair_container {
    width: 100%;
    max-width: calc((((100vw - (100vw - 100%)) - 1170px) / 2) + 1170px);
}

.section_gallery_repair {
    position: relative;
    z-index: 1;
}

.section_gallery_repair {
    position: relative;
    z-index: 1;
}

.gallery_repair {
    display: grid;
    grid-gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
}

.gallery_repair_vertical {
    grid-row: span 2;
}

.gallery_repair > a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    overflow: hidden;
}

.gallery_repair > a > * {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition-duration: 1s;
}

@media (max-width: 1199.98px) {
    .gallery_repair_container {        
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 1600px) {
    .gallery_repair {
        grid-auto-rows: 100px;
    }

    .gallery_repair > a:nth-child(1) {
        grid-column: span 2;
        grid-row: span 8;
    }

    .gallery_repair > a:nth-child(2) {
        grid-column: span 1;
        grid-row: span 3;
    }

    .gallery_repair > a:nth-child(3) {
        grid-column: span 2;
        grid-row: span 3;
    }

    .gallery_repair > a:nth-child(4) {
        grid-column: span 3;
        grid-row: span 5;
    }
}