﻿.auto-container {
    margin: 0 auto;
}

.post-thumbnail a {
    display: block;
}

.project-section {
    position: relative;
    padding: 30px 0 30px;
    width: 96%;
    margin: auto;
}

    .project-section .tabs-header {
        position: relative;
        margin-bottom: 15px;
    }

    .project-section .product-tab-btns {
        position: relative;
    }

        .project-section .product-tab-btns .p-tab-btn {
            position: relative;
            cursor: pointer;
            color: #fff;
            font-weight: 500;
            font-size: 16px;
            display: inline-block;
            margin-bottom: 10px;
            transition: all .3s ease;
            -moz-transition: all .3s ease;
            -webkit-transition: all .3s ease;
            -ms-transition: all .3s ease;
            -o-transition: all .3s ease;
            background-color: #fff;
            padding: 5px 15px;
            background-color: #056839;
            border-radius: 20px 0 20px 0;
        }

            .project-section .product-tab-btns .p-tab-btn.active-btn {
                background-color: #222;
                color: #fff !important;
            }

            .project-section .product-tab-btns .p-tab-btn:hover {
                color: #fff !important;
                background-color: #215f0c;
            }

            .project-section .product-tab-btns .p-tab-btn:last-child::after {
                display: none;
            }

            .project-section .product-tab-btns .p-tab-btn.active-btn, .project-section .product-tab-btns .p-tab-btn:hover {
                color: #056839;
            }

.project-tab {
    position: relative;
}

    .project-tab .sec-title {
        margin-bottom: 40px;
    }

    .project-tab .projects-carousel .owl-dots {
        display: none;
    }

    .project-tab .projects-carousel .owl-nav {
        display: block;
        float: right;
        margin-top: 0 !important;
        bottom: 0;
    }

        .project-tab .projects-carousel .owl-nav .owl-next span {
            margin-left: 15px;
        }

        .project-tab .projects-carousel .owl-nav .owl-next::before {
            content: "Next";
            font-weight: 600;
            font-size: 14px;
        }

        .project-tab .projects-carousel .owl-nav .owl-prev::after {
            content: "Prev";
            font-weight: 600;
            font-size: 14px;
        }

        .project-tab .projects-carousel .owl-nav .owl-prev span {
            margin-right: 15px;
        }

        .project-tab .projects-carousel .owl-nav .owl-next, .project-tab .projects-carousel .owl-nav .owl-prev {
            display: inline-block;
            margin: 0 14px;
            font-size: 16px;
            font-weight: 500;
            color: #333;
            position: relative;
            -webkit-transition: all .5s ease-in-out;
            -moz-transition: all .5s ease-in-out;
            -ms-transition: all .5s ease-in-out;
            -o-transition: all .5s ease-in-out;
            transition: all .5s ease-in-out;
            margin: 15px auto;
            padding: 0 15px;
        }

            .project-tab .projects-carousel .owl-nav .owl-next .fa, .project-tab .projects-carousel .owl-nav .owl-prev .fa {
                margin: 0 5px;
            }

            .project-tab .projects-carousel .owl-nav .owl-next:hover, .project-tab .projects-carousel .owl-nav .owl-prev:hover {
                color: #056839;
            }

            .project-tab .projects-carousel .owl-nav .owl-next span, .project-tab .projects-carousel .owl-nav .owl-prev span {
                transform: rotate(270deg);
                display: none;
            }

        .project-tab .projects-carousel .owl-nav .owl-next {
            border-left: 1px solid #bbb;
        }

    .project-tab .p-tabs-content {
        position: relative;
        display: block;
    }

    .project-tab .p-tab {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        visibility: hidden;
    }

.p-tab.active-tab {
    position: relative;
    visibility: visible;
    z-index: 5;
}

.p-tab .project-block {
    transition: all .7s ease;
    -moz-transition: all .7s ease;
    -webkit-transition: all .7s ease;
    -ms-transition: all .7s ease;
    -o-transition: all .7s ease;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    -moz-transform: scaleY(0);
    transform: scaleY(0);
}

.p-tab.active-tab .project-block {
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    -moz-transform: scaleY(1);
    transform: scaleY(1);
    margin-right: 1px;
}

.project-section .text-column {
    position: relative;
    padding-top: 100px;
    margin-right: -50px;
}

    .project-section .text-column .inner-box .text {
        font-size: 18px;
        color: #333;
        font-weight: 300;
    }

    .project-section .text-column .inner-box h3 {
        color: #056839;
        font-size: 1.25rem;
        font-weight: 500;
        margin: 13px 0 27px;
    }

    .project-section .text-column .inner-box h6 {
        font-size: 14px;
        color: #777;
        font-weight: 300;
        margin-bottom: 46px;
    }

    .project-section .text-column .inner-box .more-project {
        position: relative;
    }

        .project-section .text-column .inner-box .more-project a {
            color: #333;
            font-size: 16px;
            font-weight: 500;
            transition: all .3s ease-in-out;
            -webkit-transition: all .3s ease-in-out;
        }

            .project-section .text-column .inner-box .more-project a:hover {
                color: #056839;
            }

            .project-section .text-column .inner-box .more-project a i {
                color: #056839;
                margin-left: 10px;
            }

.project-block {
    position: relative;
    margin-left: 30px;
}

    .project-block .inner-box {
        position: relative;
    }

        .project-block .inner-box .image {
            position: relative;
        }

            .project-block .inner-box .image img {
                position: relative;
                width: 100%;
                display: block;
            }

        .project-block .inner-box:hover .image:before {
            opacity: 0;
        }

        .project-block .inner-box .image .overlay-box {
            position: absolute;
            left: 0;
            bottom: 0;
            right: 0;
            top: 0;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: block;
            opacity: 0;
            background: rgba(0,0,0,.67);
            -webkit-transition: all .9s ease;
            -ms-transition: all .9s ease;
            -o-transition: all .9s ease;
            transition: all .9s ease;
            -webkit-transform: perspective(400px) rotateY(-90deg);
            -moz-transform: perspective(400px) rotateY(-90deg);
            -ms-transform: perspective(400px) rotateY(-90deg);
            -o-transform: perspective(400px) rotateY(-90deg);
            transform: perspective(400px) rotateY(-90deg);
            -webkit-transform-origin: top;
            -moz-transform-origin: top;
            -ms-transform-origin: top;
            -o-transform-origin: top;
            transform-origin: top;
            -ms-transition: all .5s;
            -moz-transition: all .5s;
            -webkit-transition: all .5s;
            -o-transition: all .5s;
            transition: all .5s;
        }

        .project-block .inner-box:hover .image .overlay-box {
            opacity: 1;
            -webkit-transform: perspective(400px) rotateY(0);
            -moz-transform: perspective(400px) rotateY(0);
            -ms-transform: perspective(400px) rotateY(0);
            -o-transform: perspective(400px) rotateY(0);
            transform: perspective(400px) rotateY(0);
        }

        .project-block .inner-box .image .overlay-box .overlay-inner {
            position: absolute;
            left: -28px;
            top: 0;
            width: 100%;
            height: 100%;
            display: table;
            text-align: left;
            padding: 0;
            vertical-align: middle;
            z-index: 999;
        }

        .project-block .inner-box .overlay-box .overlay-inner .overlay-content {
            position: relative;
            display: table-cell;
            vertical-align: middle;
        }

        .project-block .inner-box .image .overlay-box .see-more {
            position: relative;
        }

            .project-block .inner-box .image .overlay-box .see-more span:before {
                margin-left: 0;
                font-size: 30px;
                color: #fff;
                padding: 10px;
                background-color: #056839;
                opacity: 0;
                display: none;
            }

            .project-block .inner-box .image .overlay-box .see-more span {
                margin-left: 0;
                font-size: 45px;
                color: #fff;
                padding: 10px;
                background-color: #056839;
                width: 50px;
                height: 50px;
                display: block;
                text-align: center;
                line-height: 30px;
            }
