/* PortfolioBox default CSS */
.handsy-boxes-portfolio .handsy-boxes-row-wrapper .slick-arrow {
    top: -60px;
    background-color: var(--ttm-skincolor);
    border-color: var(--ttm-skincolor);
}
.handsy-boxes-view-carousel.ttm-boxes-carousel-arrow-round .handsy-boxes-row-wrapper .slick-arrow:hover {
    background-color: var(--ttm-secondarycolor);
    border-color: var(--ttm-secondarycolor);
}
.handsy-boxes-portfolio .handsy-boxes-row-wrapper .slick-arrow.slick-prev:before,
.handsy-boxes-portfolio .handsy-boxes-row-wrapper .slick-arrow.slick-next:before {
    color: var(--ttm-whitecolor);
}
.handsy-boxes-portfolio .handsy-boxes-row-wrapper .slick-arrow.slick-prev {
    right: 75px;
    left: auto;
}
.handsy-boxes-portfolio .handsy-boxes-row-wrapper .slick-next {
    right: 10px;
}
.handsy-box-portfolio .ttm-featured-wrapper {
    overflow: hidden;
}
.handsy-portfoliobox-default .ttm-featured-wrapper {
    height: 420px;
    background-position: center;
    background-size: cover;
}
.handsy-portfoliobox-default .ttm-project-readmore-btn a {
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
}
.handsy-box-portfolio.handsy-portfoliobox-default a.handsy_pf_link {
    line-height: 31px;
    margin-right: 0;
    float: unset;
}
article.handsy-box.handsy-box-portfolio.handsy-portfoliobox-default {
    overflow: hidden;
}
.handsy-portfoliobox-default .handsy-box-bottom-content {
    text-align: left;
    position: absolute;
    bottom: 25px;
    left: 44px;
    opacity: 0;
    z-index: 11;
    transition: all .12s ease-in-out;
    transform: translateY(20px);
}
.handsy-box-portfolio.handsy-portfoliobox-default .handsy-box-category {    
    font-size: 0;
    margin-top: 0;
    margin-bottom: 6px;
}
.handsy-portfoliobox-default .handsy-btn {
    position: absolute;
}
.handsy-box-portfolio.handsy-portfoliobox-default .handsy-box-category a {
    font-size: 12px;
    padding: 4px 11px;
    background-color: rgba(255, 255, 255, 0.11);
    margin-right: 8px;
    text-transform: uppercase;
    color: #fff; 
}
.handsy-portfoliobox-default:hover .handsy-box-bottom-content {
    opacity: 1;
    transition: all .12s ease-in-out;
    transform: translateY(0px);
}
.handsy-portfoliobox-default .handsy-imgbox {
    position: relative;
}
.handsy-portfoliobox-default .handsy-imgbox:after {
    position: absolute;
    content: "";
    bottom: -10px;
    left: -15px;
    width: 110%;
    height: 0;
    -webkit-transition: all .45s ease-in-out;
    -moz-transition: all .45s ease-in-out;
    -ms-transition: all .45s ease-in-out;
    transition: all .45s ease-in-out;
    visibility: visible;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 50%, rgba(0, 23, 70, 0.15) 80%);
    padding: 20px;
    transition: all .3s ease;
    z-index: 1;
    filter: blur(10px);
    opacity: 0;
    pointer-events: none;
}
.handsy-portfoliobox-default:hover .handsy-imgbox:after {
    opacity: 1;
    height: 50%;
}
.handsy-portfoliobox-default .handsy-btn a,
.handsy-box-portfolio.handsy-portfoliobox-default .handsy-box-title h4 a {
    color: #fff !important;
}
.handsy-box-portfolio.handsy-portfoliobox-default .handsy-box-title h4 {
    font-size: 24px;
    line-height: 34px;
    margin: 0;
}
.handsy-element-portfoliobox-default.handsy-sortable-yes:not(.handsy-boxes-textalign-center) .handsy-box-heading-wrapper {
    justify-content: space-between;
    align-items: flex-end;
    display: flex;
}
.handsy-element-portfoliobox-default.handsy-sortable-yes:not(.handsy-boxes-textalign-center) .handsy-box-heading-wrapper:not(.ttm-boxwithout-heading) .ttm-sortable-wrapper,
.handsy-element-portfoliobox-default.handsy-sortable-yes:not(.handsy-boxes-textalign-center) .handsy-box-heading-wrapper:not(.ttm-boxwithout-heading) .ttm-element-heading-content-wrapper {
    flex: unset;
    max-width: unset;
}
.handsy-element-portfoliobox-default .ttm-sortable-list .ttm-sortable-link a:hover, 
.handsy-element-portfoliobox-default .ttm-sortable-list .ttm-sortable-link a.selected {
    background-color: var(--ttm-skincolor);
    border-color: var(--ttm-skincolor);
}
.ttm-sortable-wrapper.ttm-sortable-wrapper-ttm_portfolio_category {
    text-align: right;
    padding-bottom: 18px;
}
.handsy-element-portfoliobox-default .ttm-sortable-list .ttm-sortable-link a {
    padding: 6px 20px !important;
    margin: 0;       
    background-color: #fff;
    font-size: 14px;
    border: 1px solid #D4D4D4;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 500; 
}
.handsy-element-portfoliobox-default .ttm-sortable-list ul {
    margin: 0;   
}
.ttm-animation-hover-button {
    padding: 23px 15px 28px;
    text-align: center;
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: -30%;
    top: auto;
    transition: 500ms all linear 0ms;
    opacity: 0;
    z-index: 99;
}

/**/
.handsy-portfoliobox-style1 .ttm-featured-wrapper {
    height: 292px;
    width: 634px;
    background-position: top;
    background-size: cover;
}
.handsy-box-portfolio.handsy-portfoliobox-style1 .handsy-box-title h4 {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 6px;
}
.handsy-boxes-col-one .handsy-portfoliobox-style1 .handsy-post-item {
    text-align: center;
    padding-top: 105px;
    z-index: 11;
}
.handsy-box-portfolio.handsy-portfoliobox-style1 a.handsy_pf_link {
    line-height: 41px;
    margin-right: 0;
    float: none;
    border: 1px solid;
    padding: 1px 25px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 11;
}
.handsy-box-portfolio.handsy-portfoliobox-style1 a.handsy_pf_link:hover { 
    background-color: var(--ttm-secondarycolor);
    border-color: var(--ttm-secondarycolor);
    color: #fff;
}
.handsy-box-portfolio.handsy-portfoliobox-style1 a.handsy_pf_link:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background: #000;
    width: 100%;
    height: 0;
    transition: all 0.3s ease 0s;
    z-index: -1;
}
.handsy-box-portfolio.handsy-portfoliobox-style1 a.handsy_pf_link:hover:after {
    transition-duration: 0.3s;
    height: 100%;
}
.handsy-portfoliobox-style1 .handsy-box-desc-text {
    width: 634px;
    margin: auto;
    padding: 0 20px;
     overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; 
}
.handsy-boxes-col-one .handsy-portfoliobox-style1 .handsy-imgbox {
    display: flex;
    justify-content: center;
    padding: 23px 0 24px;
}
.handsy-portfoliobox-style1 .ttm-featured-bgimg {
    height: 720px;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
}
.handsy-portfoliobox-style1 .ttm-featured-bgimg:after {
    position: absolute;
    content: '';
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.handsy-portfoliobox-style1 .handsy-box-bottom-content {
    display: inline-block;
    background-color: #fff;
    padding: 28px 35px 35px;
    position: relative;
    z-index: 11;
}

@media (max-width:1200px) {
        .handsy-portfoliobox-default:hover .handsy-box-overlay {
        bottom: 10px;
    }
    .handsy-box-portfolio.handsy-portfoliobox-default .handsy-box-title h4 {
        font-size: 20px;
        line-height: 30px;
    }
    .handsy-boxes-col-one .handsy-portfoliobox-style1 .handsy-post-item {    
        padding-top: 91px;    
    }
}
@media (max-width: 1024px) {
    .handsy-element-portfoliobox-default.handsy-sortable-yes:not(.handsy-boxes-textalign-center) .handsy-box-heading-wrapper {    
        align-items: center;
        display: block;
    }
    .ttm-sortable-wrapper.ttm-sortable-wrapper-ttm_portfolio_category {
        text-align: left;
        padding: 18px 0 0;
    }
    .handsy-boxes-col-one .handsy-portfoliobox-style1 .handsy-post-item {       
        padding-top: 60px;      
    }
    .handsy-portfoliobox-style1 .ttm-featured-bgimg {
        height: 634px;    
    }
}
@media (max-width: 991px) {
    .handsy-portfoliobox-style1 .handsy-box-bottom-content {   
        margin: 0 15px;
    }
    .handsy-portfoliobox-style1 .handsy-box-desc-text {
        width: auto;
        margin: auto;
    }
    .handsy-portfoliobox-style1 .handsy-box-bottom-content {
        display: block;     
    }
}
@media (max-width: 767px) {
    .handsy-portfoliobox-style1 .ttm-featured-wrapper {    
        width: 340px;    
    }
    .handsy-portfoliobox-style1 .ttm-featured-bgimg {
        height: auto;       
    }
    .handsy-boxes-col-one .handsy-portfoliobox-style1 .handsy-post-item {       
        padding: 15px;
    }
    .handsy-portfoliobox-style1 .handsy-box-bottom-content {
        margin: 0;
        padding: 20px;
    }
    .handsy-portfoliobox-style1 .handsy-box-desc-text {   
        padding: 0;
    }
    .ttm-sortable-wrapper.ttm-sortable-wrapper-ttm_portfolio_category {     
        padding: 18px 0 0;
    }
}
@media (max-width: 479px) {

    .handsy-portfoliobox-default:hover .handsy-box-overlay {
        bottom: 10px;
    }
    .handsy-portfoliobox-default .ttm-featured-wrapper:before {
        background: -webkit-linear-gradient(90deg, rgba(33, 37, 41, .8)100%, rgba(0, 0, 0, 0)10%);
    }
    .handsy-portfoliobox-default .handsy-box-bottom-content {
        left: 10px;
        padding: 0 20px;
    }
}
@media only screen and (min-width:768px) and (max-width:1024px) {
    .handsy-portfoliobox-style1 .ttm-featured-wrapper {    
        width: 541px;    
    }
    .handsy-portfoliobox-style1 .handsy-box-desc-text {
        width: 100%;        
    }
}
@media only screen and (min-width:992px) and (max-width:1339px) {
    .handsy-portfoliobox-default .handsy-box-bottom-content {       
        bottom: 12px;
        left: 25px;
        padding: 5px 25px 0px 0;
    }
}
@media only screen and (min-width:992px) and (max-width:1024px) {
    .handsy-portfoliobox-default:hover .handsy-box-overlay {
        padding: 20px;
        bottom: 10px;
    }

}

@media only screen and (min-width:1025px) and (max-width:1340px) {
    .handsy-element-portfoliobox-default .ttm-sortable-list .ttm-sortable-link a {
        padding: 6px 10px !important;
        margin: 0 1px 0;    
        font-size: 13px;    
    }
}