﻿
@media(max-width:1110px) {

    .wp-img-libary-home .grid.wide {
        max-width: 100%;
    }

    .top-img-libary-home {
        text-align: center;
        padding: 0 20px;
        padding-top: 73px;
    }

    .item-img-top:nth-child(odd) a img {
        width: 100%;
    }

    .bottom-list-img-libary-home {
        justify-content: center;
    }
}

@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important;
    }

    .wp-img-libary-home .grid.wide {
        padding: 0;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important;
    }
}

@media(max-width:739px) {
    .no-display-mobile {
        display: none !important;
    }

    .top-list-img-libary-home, .bottom-list-img-libary-home {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 5px;
        row-gap: 5px;
        padding-bottom: 5px;
    }

    .item-img-bottom {
        padding-right: 0;
    }

        .item-img-bottom:last-child {
            display: none;
        }

    .wp-img-libary-home {
        padding-bottom: 35px;
    }

 

    .top-img-libary-home {
        padding-top: 35px;
    }

    .item-img-top:nth-child(odd) a img, .item-img-top:nth-child(even) a img {
        height: 150px;
    }

    .item-img-bottom:nth-child(odd) a img, .item-img-bottom:nth-child(even) a img {
        width: 100%;
        height: 150px;
    }

    .item-img-top {
        padding-right: 0;
    }
}
