.aboutSection.gallery{
    padding: 50px 0px 0px;
}
.aboutSection.gallery::after{
    content: unset;
    left: 0px;
    transform: rotate(90deg);
    transform-origin: 150px 220px;
}
.aboutSection.gallery::before{
    left: -24px;
    top: 140px;
    content: none;
}
.aboutSection.gallery.active::before{
    top: 210px;
}
.aboutSection.gallery.third-active::before{
    top: 220px;
}
.aboutSection.gallery .sub-txt{
    color: #999999;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.aboutSection.gallery .header-txt{
    color: #000000;
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 800;
}
.aboutSection.gallery .router-txt{
    color: #666666;
    font-size: 18px;
    text-transform: uppercase;
    text-align: right;
}
.aboutSection.gallery .type-tags{
    display: flex;
    width: 1400px;
    flex-wrap: wrap;
}
.aboutSection.gallery .type-tags p{
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin: 0 30px 15px 0;
    cursor: pointer;
}
.aboutSection.gallery .d-flex .header-txt {
    width: 100%;
}
.aboutSection.gallery .gallery-container{
    padding: 50px 0;
}
.aboutSection.gallery .gallery-container .img-load-button{
    display: flex;
    justify-content: center;
    margin: 50px 0;
}
.aboutSection.gallery .gallery-container .img-load-button .orangeBtn img{
    margin-left: 0px;
    margin-top: -8px;
    margin-right: 10px;
}
.aboutSection.gallery .gallery-container .openModal{ cursor: pointer; }
.orangeBtn{ cursor: pointer; }

.gallery-img-modal{
    width: 100%;
    height: 640px;
    object-fit: contain;
}
.popup-subtext{
    color: #666666;
    font-size: 16px;
    font-weight: normal;
}
.right-content{
    color: #000;
    font-size: 18px;
    font-weight: 500;
}
.right-content img{
    width: 20px;
    margin-right: 10px;
    margin-bottom: 5px;
}
.btn-top{
    margin-top: 35px;
}

/* Create four equal columns that sits next to each other */
.aboutSection.gallery .gallery-container .cust-col {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}
  
.aboutSection.gallery .gallery-container .cust-col img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}
  
  /* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1440px) {
    .aboutSection.gallery .d-flex .header-txt {
        width: 100%;
    }
    .aboutSection.gallery .type-tags {
        display: flex;
        width: 1120px;
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 1366px) {
    .aboutSection.gallery .type-tags {
        justify-content: flex-start;
    }
}
  
@media screen and (max-width: 800px) {
    .aboutSection.gallery .gallery-container .cust-col {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .aboutSection.gallery .gallery-container .cust-col {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}


.aboutSection.gallery .type-tags p.active, .aboutSection.gallery .type-tags p:hover{
    font-weight: 800;
    border-bottom: 3px solid #ff9c00;
}

@media (max-width: 1024px){
    .aboutSection.gallery .sub-txt{
        text-align: center;
    }
    .aboutSection.gallery .custom-flex{
        flex-direction: column;
        text-align: center;
    }
    .aboutSection.gallery .type-tags{
        justify-content: center;
    }
    .aboutSection.gallery .d-flex .header-txt{
        font-size: 34px;
    }
    .aboutSection.gallery .type-tags p{
        font-size: 14px;
    }
    .aboutSection.gallery .d-flex .header-txt{
        width: 100%;
    }
    .aboutSection.gallery .type-tags {
        width: 100%;
    }
}
@media (max-width: 768px){
    .gallery-img-modal {
        width: 100%;
        height: 300px;
    }
    .aboutSection.gallery .header-txt{
        font-size: 24px;
    }
    .popup-subtext{
        font-size: 14px;
    }
    .right-content {
        font-size: 14px;
    }
    .btn-top .orangeBtn{
        width: 100%;
    }
    .aboutSection.gallery .type-tags p {
        font-size: 15px;
        font-weight: 500;
        color: #000;
        margin: 10px 20px 0 0;
    }
}


  
/* .aboutSection.gallery .gallery-container .cust-col {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    padding: 5px;
}
.aboutSection.gallery .gallery-container .inner-column img{
    width: 100%;
}
.aboutSection.gallery .gallery-container .double-cust-col {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 2;
    padding: 5px;
} */


@media(max-width: 576px) {
   body .close-modal {
    top: -24px;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
   }
}