.customPortfolio {
    margin: 0;
    padding: 0;
    list-style: none;
}
.customPortfolio a {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    padding: 25px;
    border-bottom: solid 1px #c1bdbd;
    transition: all 0.25s ease;
}
.customPortfolio a:hover{
    text-decoration: none;
    background: #e5e5e5;
}
.customPortfolio h4 {
    font-size: 24px;
    line-height: 1.4em;
    margin: 0;
    color: #000;
    font-weight: 500;
    width: 400px;
}
.customPortfolio h6 {
    font-size: 16px;
    line-height: 1.4em;
    margin: 0;
    color: #000;
    font-weight: 500;
    width: calc(100% - 400px);
}
.customPortfolio figure {
    position: fixed;
    top: 110px;
    right: 0;
    width: 500px;
    height: 0px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    padding: 2px;
    background: #fff;
    transition: all 0.26s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.customPortfolio li:hover figure{
    height: 450px;
    opacity: 1;
    visibility: visible;
}
.customPortfolio figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
section#portfolio{
    z-index: 2;
}
.portfolioSelect{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.tab-wrapper .gallery_product{
    display: none;
}
.tab-wrapper .gallery_product:first-of-type{
    display: block;
}
select#catSelectSecond,
select#catSelect {
    padding: 15px;
    cursor: pointer;
    outline: none;
    border: solid 1px #e3e3e3;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    background: transparent;
    width: 100%;
}
.portfolioSelect .downArrow{
    position: relative;
    background: #fff;
    width: 255px;
}
.portfolioSelect .downArrow:before, .portfolioSelect .downArrow:before {
    content: "\f107";
    position: absolute;
    right: 15px;
    top: 50%;
    font-family: fontAwesome;
    transform: translateY(-50%);
}
#catSelectN{
    display: none;
}
select#catSelect option{
    margin-bottom: 7px;
}
.modeChange {
    padding: 0px;
    border: solid 1px #e3e3e3;
    border-radius: 50px;
    display: flex;
    align-items: center;
    list-style: none;
    margin-left: 20px;
    margin-bottom: 0;
}
.modeChange li {
    padding: 3px 9px;
    font-size: 15px;
    margin: 0;
    color: #000;
    list-style: none;
    border-radius: 50px;
    cursor: pointer;
    background: transparent;
    transition: all 0.25s ease;
    margin: 5px;
}
.modeChange li.active{
    background-color: #000;
    color: #fff;
}
.portfolioViews{
    display: none;
}
.portfolioViews:first-of-type{
    display: block;
}

.gridViews ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.gridViews ul li {
    width: calc(33.33% - 10px);
    margin-right: 15px;
    align-self: flex-start;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    padding: 2px;
    position: relative;
    overflow: hidden;
}
.gridViews ul li figure {
    width: 100%;
}
.gridViews ul li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gridViews .thirdRow ul li:nth-of-type(1) figure,
.gridViews .firstRow ul li:nth-of-type(2) figure,
.gridViews .secondRow ul li:nth-of-type(3) figure{
    height: 520px;
}
.gridViews ul li:nth-of-type(3n){
    margin-right: 0;
}
.gridViews .secondRow ul li:nth-of-type(1),
.gridViews .secondRow ul li:nth-of-type(3){
    margin-top: -110px;
}
.gridViews .thirdRow ul li:nth-of-type(1){
    margin-top: -110px;
}
.gridProject{
    display: none;
}
.gridViews ul li:before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.25s ease;
    z-index: 1;
}
.gridViews ul li:hover:before{
    height: 100%;
}
.gridViews .innerLayer{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 20px;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gridViews ul li:hover .innerLayer{
    opacity: 1;
    visibility: visible;
}
.gridViews ul li img{
    transition: all 0.7s ease;
    transform: scale3d(1.0, 1.0, 1.0);
}
.gridViews ul li:hover img{
    transform: scale3d(1.08, 1.04, 1.06);
}
.gridViews .innerLayer a{
    text-decoration: none;
}
.gridViews .innerLayer h3,
.gridViews .innerLayer h3 a,
.gridViews .innerLayer p{
    color: white;
}
.gridViews .innerLayer p,
.gridViews .innerLayer h3 {
    margin: 0 0 15px 0;
}
.customBtns {
    background: #187ac3;
    align-self: center;
    padding: 6px 25px;
    color: #fff;
    border-radius: 20px;
    transition: all 0.35s ease;
}
.customBtns:hover{
    border-radius: 0;
    color: #fff;
}
.gridViews .gridProject:first-of-type{
    display: block;
}



/* responsive css start here */
@media (max-width:1199px){
    .gridViews .thirdRow ul li:nth-of-type(1) figure, .gridViews .firstRow ul li:nth-of-type(2) figure, .gridViews .secondRow ul li:nth-of-type(3) figure {
        height: 350px;
    }
    .gridViews .secondRow ul li:nth-of-type(1), .gridViews .secondRow ul li:nth-of-type(3) {
        margin-top: -40px;
    }
    .gridViews .thirdRow ul li:nth-of-type(1) {
        margin-top: -40px;
    }
}
@media (max-width:992px){
    .gridViews .thirdRow ul li:nth-of-type(1) figure, .gridViews .firstRow ul li:nth-of-type(2) figure, .gridViews .secondRow ul li:nth-of-type(3) figure {
        height: 280px;
    }
}
@media (max-width:767px){
    .gridViews .thirdRow ul li:nth-of-type(1) figure, .gridViews .firstRow ul li:nth-of-type(2) figure, .gridViews .secondRow ul li:nth-of-type(3) figure {
        height: auto;
    }
    .gridViews .thirdRow ul li:nth-of-type(1),
    .gridViews .secondRow ul li:nth-of-type(1), .gridViews .secondRow ul li:nth-of-type(3) {
        margin-top: 0;
    }
    select#catSelectSecond, select#catSelect {
        padding: 10px;
        font-size: 14px;
    }
    .customPortfolio a{
        padding: 15px;
    }
    .customPortfolio h4 {
        font-size: 18px;
        width: 250px;
        text-align: left;
    }
    .customPortfolio h6 {
        font-size: 14px;
        width: calc(100% - 250px);
        text-align: left;
    }
    .portfolioSelect .downArrow {
        width: 220px;
    }
    .gridViews ul li {
        width: 100%;
        margin-right: 0px;
    }
    .gridViews .gridProject {
        padding: 0 20px;
    }
    .portfolioBanner .slide-text > h1.heading-banner{
        font-size: 28px;
        line-height: 50px;
        margin-bottom: 30px;
    }
    .portfolioBanner .slide-text > h1.heading-banner:before{
        display: none;
    }
}
@media (max-width:570px){
    .customPortfolio a {
        align-items: flex-start;
        flex-direction: column;
    }
    .customPortfolio h4 {
        width: auto;
        text-align: left;
        margin-bottom: 5px;
    }
    .customPortfolio h6 {
        font-size: 13px;
        width: auto;
        text-align: left;
    }
}