/* 21.11.18 */

.gallerytab {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 46px;
}

.gallerytab .gallerytab_Link {
    list-style: none;
    cursor: pointer;
    margin: 0 16px;
}

.gallerytab .gallerytab_Link.active {
    font-weight: 400;
}

.gallerytab .gallerytab_Link a {
    display: block;
    color: #212121;
    text-decoration: none;
    cursor: pointer;
    padding-bottom: 10px;
}

.gallerytab .gallerytab_Link.active {
    border-bottom: 3px solid #9d0034;
}



/*build css for the phone */
@media screen and (min-width: 320px) and (max-width: 568px) {
    .gallery .item .img a img {
        padding-right: 0;
        width: 100%;
    }
    .gallery .item .img {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .gallery .item .img a {
        height: 100%;
        width: calc(50% - 5px);
    }
    .gallery .item .title h2 a {
        padding: 0 15px;
        font-size: 16px;  
    }
    .gallery .item .title .date {
        margin-left: 15px;
    }
    .gallery .item .more {
        padding: 0 15px;
    }
    .date {
        display: none;
    }
    .tab-navigations {
        margin-top: 40px;
    }
    .gallery .item .img .imggroup:nth-child(2n+1) {
        margin-bottom: 10px;
    }
    .morebut {
        display: inline-block;
    }
    .gallerytab {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }

}

@media screen and (max-width: 1199px) {
    .construction-wrapper {
        padding: 0 15px;
    }
    .gallery-construction__item {
        margin-bottom: 40px;
    }
    .gallery-construction__item:nth-child(2n) {
        margin-left: 30px;
    }
    .gallery-construction {
        justify-content: space-around;
    }
    .gallery-construction__img img {
        max-width: 100%;
    }
}

@media screen and (max-width: 799px) {
    .gallery-construction {
        max-width: 370px;
        width: 100%;
        margin: 0 auto;
    }
    .gallery-construction__item:nth-child(2n) {
        margin-left: 0;
    }
}