/* PortfolioBox  Styles-1 */
.themetechmount-box-portfolio .ttm-post-featured-link-wrapper {
    overflow: hidden;
}

.themetechmount-portfoliobox-style1 {
    margin-bottom: 30px;
    position: relative;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .themetechmount-box-overlay p {
    width: 80%;
    color: var(--ttm-whitecolor);
}
.themetechmount-portfoliobox-style1 .themetechmount-box-overlay p {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    color: rgba(255 , 255 , 255 , 0.20);
    margin-top: 15px;
}

.themetechmount-portfoliobox-style1 .ttm-post-featured-link-wrapper {
    background-size: contain;
    background-position: 100%;
    padding-top: 770px;
    transition: transform .5s ease-in-out;
    webkit-transition: all .6s ease-in-out;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .ttm-post-featured-link-wrapper {
    position: relative;
    z-index: 0;
    display: block;
    width: 100% !important;
    -ms-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(3.05);
}

.themetechmount-portfoliobox-style1 .ttm-post-featured-link-wrapper {
    display: none;
}

.themetechmount-portfoliobox-style1 .ttm-post-featured-link-wrapper::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .50);
    z-index: 1;
    transition: all .9s ease;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .themetechmount-box-overlay {
    padding: 30px 0;
    position: absolute;
    bottom: 20px;
    text-align: center;
    left: 0;
    right: 0;
}

.themetechmount-portfoliobox-style1 .themetechmount-box-overlay {
    padding: 30px;
    bottom: -492px;
    text-align: left;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    position: relative;
    top: auto;
}
.themetechmount-portfoliobox-style1 .tm-post-iconbox {
    text-align: center;
    margin-top: 20px;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center {
    width: 12% !important;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide {
    width: 8% !important;
}

.themetechmount-portfoliobox-style1 .themetechmount-box-title {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.themetechmount-portfoliobox-style1 .themetechmount-box-title h4 {
    cursor: auto;
    font-size: 94px;
    line-height: 114px;
    font-weight: 500;
    margin-bottom: 10px;
    transition: all 0.5s linear;
    color: rgba(255, 255, 255, 0.20);
    pointer-events: none;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .themetechmount-box-title h4 {
    cursor: pointer;
    pointer-events: auto;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .themetechmount-box-title h4 a {
    color: var(--ttm-whitecolor);
    pointer-events: auto;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .themetechmount-box-title h4 a:hover {
    color: var(--ttm-skincolor);
}

.themetechmount-portfoliobox-style1 .themetechmount-box-content .themetechmount-box-title h4 a {
    color: rgba(255 , 255 , 255 , 0.20);
    position: relative;
    pointer-events: none;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .themetechmount-box-content .themetechmount-box-title h4 a::before {
    content: '';
    position: absolute;
    background-color: var(--ttm-skincolor);
    width: 100px;
    height: 2px;
    left: -155px;
    top: 58px;
    overflow: visible;
}

.themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide.slick-current.slick-active.slick-center .themetechmount-portfoliobox-style1 .themetechmount-box-content .themetechmount-box-title h4 a::after {
    content: '';
    position: absolute;
    background-color: var(--ttm-skincolor);
    width: 100px;
    height: 2px;
    right: -155px;
    top: 58px;
}

@media (max-width: 1200px)  {
    .themetechmount-portfoliobox-style1 .ttm-post-featured-link-wrapper {
        display: block;
        padding-top: 400px;
        background-size: auto;
        background-repeat: no-repeat;
        background-position: center;
        overflow: visible;
    }
    .themetechmount-portfoliobox-style1 .themetechmount-box-overlay {
        padding: 30px;
        position: absolute;
        bottom: 0;
        text-align: center;
    }
    .themetechmount-element-portfoliobox-style1 .tm-box-col-wrapper.slick-slide {
        width: 10% !important;
    }
    .themetechmount-portfoliobox-style1 .themetechmount-box-content .themetechmount-box-title h4 a {
        color: var(--ttm-whitecolor);
        pointer-events: auto;
    }
    .themetechmount-portfoliobox-style1 .themetechmount-box-overlay p {
        display: none;
    }

}
@media (max-width: 991px)  {
.themetechmount-portfoliobox-style1 .themetechmount-box-title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
}

/*---Portfolio style2---*/

.themetechmount-portfoliobox-style2 .themetechmount-post-item-inner {
    position: relative;
    overflow: hidden;
}

.themetechmount-portfoliobox-style2 .themetechmount-box-content {
    width: auto;
    padding: 0px;
    box-sizing: border-box;
    position: absolute;
    bottom: 40px;
    left: 40px;
    text-align: left;
}
.themetechmount-portfoliobox-style2 .themetechmount-box-title h4 {
    display: inline-block;
    margin: 0 0 0 0px;
    padding: 5px 10px;
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
    transition: all 2s, visibility .4s, opacity .4s;
    visibility: hidden;
    opacity: 0;
    background-color: var(--ttm-whitecolor);  
    font-size: 28px;
    line-height: 38px;
}

.themetechmount-portfoliobox-style2 .themetechmount-box-content .themetechmount-box-title h4 a:hover,
.themetechmount-portfoliobox-style2 .themetechmount-box-title h4 a {
    color: var(--body-blackfont-color);
}

.themetechmount-portfoliobox-style2:hover .themetechmount-box-title h4 {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    transition: all .6s, visibility 0s, opacity 0s;
    visibility: visible;
    opacity: 1;
}

.themetechmount-portfoliobox-style2:hover .themetechmount-box-content .tm-cat {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    transition: all .6s, visibility 0s, opacity 0s;
    visibility: visible;
    opacity: 1;
}

.themetechmount-portfoliobox-style2 .themetechmount-box-content .tm-cat {
    display: inline-block;
    margin: 10px 0 0 0;
    padding: 5px 10px;
    -webkit-transform: translateY(300px);
    transform: translateY(300px);
    transition: all 2s, visibility .4s, opacity .4s;
    visibility: hidden;
    opacity: 0;
    background-color: var(--ttm-whitecolor);
    color: var(--body-blackfont-color);
    font-family: var(--special-element-fontfamily);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.themetechmount-portfoliobox-style2:hover .tm-featured-wrapper img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: .5s;
}

.themetechmount-portfoliobox-style2 .tm-featured-wrapper img {
    position: relative;
    display: block;
    transition: .5s;
    width: 100%;
}

@media (max-width: 1200px) {
    .themetechmount-portfoliobox-style2 .themetechmount-box-content {
        bottom: 15px;
        right: 15px;
    }
}
@media (max-width: 768px) {
   .themetechmount-portfoliobox-style2 .tm-featured-wrapper img {
        width: 100%;
    } 
}
