.clearfix {
    zoom: 1
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table
}

.clearfix:after {
    clear: both
}

.portfolio-showcase {
    position: relative
}

.portfolio-showcase .portfolio_project, .portfolio-showcase .portfolio-sizer {
    width: 25%;
    float: left;
    overflow: hidden;
    text-align: center
}

.portfolio-showcase .portfolio-wide {
    width: 50%
}

.portfolio-showcase .portfolio-detail {
    position: relative;
    overflow: hidden
}

.portfolio-showcase .portfolio-detail:hover h3 {
    opacity: 1;
    bottom: 50px
}

.portfolio-showcase .portfolio-detail:hover .portfolio-cats {
    opacity: 1;
    bottom: 20px
}

.portfolio-showcase .portfolio-detail:hover .view-portfolio-detail {
    background: rgba(0, 0, 0, 0.3)
}

.portfolio-showcase .portfolio-cats {
    -webkit-transition: opacity 1s, bottom 0.5s;
    transition: opacity 1s, bottom 0.5s;
    opacity: 0;
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: -50px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    z-index: 5
}

.portfolio-showcase .portfolio_project img {
    display: block;
    max-width: none;
    width: 100%;
    height: auto;
    vertical-align: middle
}

.portfolio-showcase .portfolio_project a {
    display: block;
    max-width: none;
    width: 100%;
    height: auto;
    vertical-align: middle
}


.portfolio-showcase .portfolio-cats {
    font-size: 12px
}

.portfolio-showcase .portfolio-cats a {
    color: #fff;
    text-decoration: none
}

.portfolio-showcase .view-portfolio-detail {
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -ms-transition: background 0.5s;
    -o-transition: background 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-indent: -9999px;
    background: rgba(0, 0, 0, 0)
}

.portfolio-showcase.portfolio-layout-metro .portfolio-long img {
    height: 100%;
    max-height: 100%;
}

.portfolio-showcase.portfolio-layout-metro .portfolio_project img {
    height: 100%;
    max-height: 100%;
}

.portfolio-showcase.portfolio-layout-metro.init-completed .portfolio-detail {
    height: 100%
}

.portfolio-showcase .portfolio_project {
    margin-bottom: 0
}

.full-width.singular .site-content .hentry.portfolio_project.has-post-thumbnail {
    margin-top: 0
}

.full-width.singular .site-content .entry-footer {
    max-width: 474px;
    margin: auto;
    padding: 30px
}

.portfolio-view-9.portfolio-showcase .portfolio_project, .portfolio-view-9.portfolio-showcase .portfolio-sizer {
    width: 25%;
}

.portfolio-view-9.portfolio-showcase .portfolio-wide {
    width: 50%;
}

.portfolio-columns-3.portfolio-showcase .portfolio_project, .portfolio-columns-3.portfolio-showcase .portfolio-sizer {
    width: 33.33%;
}

.portfolio-columns-3.portfolio-showcase .portfolio-wide {
    width: 66.666%;
}

.portfolio-layout-carousel.portfolio-showcase .portfolio_project, .portfolio-layout-carousel.portfolio-showcase .portfolio-sizer {
    width: 100%;
}

.portfolio-layout-carousel.portfolio-showcase .portfolio-wide {
    width: 100%;
}

.portfolio-pagination {
    text-align: center;
    overflow: hidden;
}

.portfolio-pagination .page-numbers {
    color: #ccc;
    text-align: center;
    margin-top: 20px;
}

.portfolio-pagination a,
.portfolio-pagination span {
    display: inline;
    font-size: 12px;
    background: #fff;
    color: #ccc;
    display: inline-block;
    height: 35px;
    line-height: 36px;
    margin-right: 2px;
    width: 35px;
}

.portfolio-pagination a:hover,
.portfolio-pagination span.current,
.portfolio-pagination span:hover,
.price-det ins span.amount {
    color: #181818;
}

.portfolio-pagination .prev {
    border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
    -webkit-border-radius: 3px 0 0 3px;
    -ms-border-radius: 3px 0 0 3px;
    -o-border-radius: 3px 0 0 3px;
}

.portfolio-pagination .next {
    border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    -webkit-border-radius: 0 3px 3px 0;
    -ms-border-radius: 0 3px 3px 0;
    -o-border-radius: 0 3px 3px 0;
}

.portfolio-showcase .project2 .span-2 {
    width: 20% !important;
    float: left;
}

.portfolio-showcase .heading p {
    font-style: italic;
    font-size: 15px;
    color: #969595;
    padding: 55px 0px;
    text-align: center;
}

.portfolio-showcase .main-project.white {
    background-color: white;
}

.portfolio-showcase .main-project .heading {
    text-align: center;
    padding: 70px 0px;
}

.home_one .portfolio-showcase .main-project .heading {
    padding: 50px 0 100px;
}

.portfolio-showcase .main-project .heading a.readmore:hover {
    border: 1px solid transparent;
    color: #000;
}

.portfolio-showcase .main-project .heading a.readmore:before {
    background: #bca46c;
}

.portfolio-showcase .main-project .span-2 {
    width: 20%;
    float: left;
    box-sizing: border-box;
}

.portfolio-showcase .main-project .item.span-5 {
    position: relative;
    width: 50%;
}

.portfolio-showcase .main-project .item.span-10 {
    float: left;
    position: relative;
    width: 100%;
}

.portfolio-showcase .main-project .span-4 {
    box-sizing: border-box;
    float: left;
    width: 40%;
}

.portfolio-showcase .main-project .span-2 img {
    max-width: 100%;
}

.portfolio-showcase .main-project .span-5 {
    width: 100%;
    float: left;
}

.portfolio-showcase .main-project .span-5 img {
    max-width: 100%;
    width: 100%
}

.portfolio-showcase .main-project .span-8 {
    width: 80%;
    float: left;
    box-sizing: border-box;
}

.portfolio-showcase .main-project .span-8 .span-5 {
    width: 40%;
    float: left;
    box-sizing: border-box;
}

.portfolio-showcase .main-project .span-8 .span-2 {
    width: 20%;
    float: left;
    box-sizing: border-box;
}

.portfolio-showcase .main-project .item {
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.portfolio-showcase .main-project .item a:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: rgba( 255, 255, 255, 0.85 );
    opacity: 0;
    transition: 0.35s;
}

.portfolio-showcase .main-project .item img {
    transition: all 0.5s;
}

.portfolio-showcase .main-project .item:hover a:after {
    opacity: 1;
}


.portfolio-showcase .main-project .item:hover .item-overlay-actions {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    left: 40px;
}

.portfolio-showcase .main-project .item:hover .item-icon span {
    opacity: 1;
    top: 50%;
}

.portfolio-showcase .main-project .item-overlay-actions a {

}

.portfolio-showcase .main-project .item-icon span {
    position: absolute;
    top: 30%;
    right: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: translate3d(50%, -50%, 0);
    transform: translate3d(50%, -50%, 0);
    z-index: 100;
    opacity: 0;
    font-size: 20px;
    color: #383838;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    line-height: 1;
    display: block;
    width: 100%;
    text-align: center;
}

.portfolio-showcase .main-project .item-icon span i {
    display: block;
    font-size: 16px;
    margin-top: 10px;
    font-weight: 300;
    font-style: normal;
    text-transform: none;
}

.portfolio-showcase .main-project .item-overlay-actions p {
    color: #343434;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1;
}

.portfolio-showcase .main-project .item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.portfolio-showcase .main-project .item-overlay-actions {
    position: absolute;
    bottom: 30px;
    left: -100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    text-align: left;
}

.portfolio-showcase .main-project .item-overlay-actions:after {
    position: absolute;
    left: -10px;
    bottom: 0;
    height: 100%;
    width: 2px;
    background-color: #bca46c;
    content: "";
}

.portfolio-filter {
    margin-bottom: 50px;
}

.portfolio-filter ul {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    display: table;
}

.portfolio-filter ul li {
    list-style: none;
    display: inline-block;
    position: relative;
}

.portfolio-filter ul li:last-child span {
    display: none;
}

.portfolio-filter ul li {
    padding: 5px 30px;
    position: relative;
    line-height: 1;
    float: left;
    border: 1px solid transparent;
    margin-left: -2px;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}

.portfolio-filter ul li a {
    font-size: 13px;
    color: #242424;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    text-decoration: none;
    position: relative;
}

.portfolio-filter ul li:after {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    height: 15px;
    background-color: #787878;
    width: 1px;
    -webkit-transition: none;
    transition: none;
}

.portfolio-filter ul li.active {
    border-color: #787878;
}

.portfolio-filter ul li.active:after {
    background-color: transparent;
}

.portfolio-filter ul li:last-child:after {
    display: none;
}

.portfolio-showcase .owl-controls .owl-buttons .owl-prev {
    position: absolute;
    left: 0px;
    top: 45%;
}

.portfolio-showcase .owl-controls .owl-buttons .owl-next {
    position: absolute;
    right: 0px;
    top: 45%;
}

.portfolio-showcase .owl-controls .owl-buttons div {
    margin: 0px;
    border-radius: 0px;
    height: 46px;
    width: 40px;
    line-height: 43px;
    background-color: rgba(0, 0, 0, 0.8);
}

.portfolio-showcase .owl-controls .owl-buttons div span {
    font-size: 21px;
}

.portfolio-showcase .owl-controls .owl-buttons div:hover {
    background-color: rgba(0, 0, 0, 1);
}

.portfolio-showcase .portfolio-pagination .page-numbers {
    display: none;
}

.portfolio-showcase .pagination-type-ajax {
    position: relative;
}

.portfolio-showcase .pagination-type-link .page-numbers {
    font-size: 20px;
    font-weight: 700;
    color: #242424;
    width: auto;
    height: auto;
    background-color: transparent;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 15px;
}

.portfolio-showcase .pagination-type-link .page-numbers:hover,
.portfolio-showcase .pagination-type-link .page-numbers.current {
    color: #a4a4a4;
}


.portfolio-showcase .pagination-type-link .page-numbers.next:after {
    font-family: FontAwesome;
    content: "\f105";
    font-size: 20px;
    padding-left: 15px;
}

.portfolio-showcase .pagination-type-link .page-numbers.prev:before {
    font-family: FontAwesome;
    content: "\f104";
    font-size: 20px;
    padding-right: 15px;
}

.portfolio-showcase .pagination-type-ajax .page-numbers.next:after {
    position: absolute;
    top: 10px;
    left: 50%;
    font-size: 30px;
    margin-left: -15px;
    font-family: FontAwesome;
    content: "\f110";
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    opacity: 0;
    transition: 0.5s;
}

.portfolio-showcase .portfolio-pagination .page-numbers.loading:after {
    opacity: 1;
}

.portfolio-showcase .pagination-type-ajax .page-numbers.next {
    display: inline-block;
    width: auto;
    padding: 10px 30px 8px;
    line-height: 1;
    border: 1px solid #9b9b9b;
    background-color: transparent;
    color: #242424;
    font-size: 14px;
    font-family: 'Open Sans', Arial, sans-serif;
    border-radius: 0;
    text-transform: uppercase;
}

.portfolio-showcase .portfolio-pagination .page-numbers {
    margin-top: 50px;
}

.gallery-main-carousel {
    margin-bottom: 40px;
}

.gallery-main-carousel .item img {
    width: 100%;
}

.gallery-main-carousel .owl-controls .owl-buttons div {
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-main-carousel .owl-controls .owl-prev {
    left: 0;
}

.gallery-main-carousel .owl-controls .owl-next {
    right: 0;
}

.single-portfolio_project a.btn {
    margin-top: 30px;
    text-transform: uppercase;
    font-style: inherit;
    display: block;
    float: left;
    margin-top: 20px;
}

.single-portfolio_project .work-single-desc .detail .desc {
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    color: #242424;
    padding-bottom: 10px;
}

.single-portfolio_project .work-single-desc .detail {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.single-portfolio_project .work-single-desc .detail:last-child {
    border: none;
}

.single-portfolio_project .work-single-desc .socials-work a {
    color: #666;
    padding-right: 10px;
}

.single-portfolio_project .work-single-desc .socials-work a:hover {
    color: #282828;
}

.related-works {
    clear: both;
    padding-top: 60px;
}

.related-works.portfolio-showcase .portfolio_project,
.related-works.portfolio-showcase .portfolio-sizer {
    width: 100%;
}

.related-works.portfolio-showcase .portfolio_project {
    padding: 0 15px;
}

.related-works.portfolio-showcase .main-project {
    margin-left: -15px;
    margin-right: -15px;
    background-color: transparent;
}

.related-works .owl-controls {
    margin-top: 60px;
}

.related-works .owl-controls .owl-page span {
    background-color: #eaeaea;
    width: 15px;
    height: 15px;
    margin: 0 3px;
}

.related-works .owl-controls .owl-page.active span,
.related-works .owl-controls.clickable .owl-page:hover span {
    background-color: #cecece;
}

.related-works .main-heading {
    margin-bottom: 50px;
}
