/*------------------------------------*\
    #Landing Page / Promo Page
\*------------------------------------*/

.landing-demos .portfolio-item {
    margin-bottom: 50px;
}

.portfolio-item {
    margin-bottom: 30px;
}

.landing-demos .portfolio-img img {
    max-width: 100%;
    height: auto;
}

.landing-demos .portfolio-item:hover .portfolio-img {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -o-transform: translateY(-6px);
    transform: translateY(-6px);
}

.landing-demos .portfolio-item:hover img {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.landing-demos .portfolio-bio {
    padding-top: 23px;
}


/* Portfolio Filter */
.portfolio-filter {
    text-align: center;
    margin-bottom: 36px;
}

.portfolio-filter li a {
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-right: 29px;
    text-transform: capitalize;
}

.portfolio-filter li:last-child a {
    margin-right: 0;
}

.portfolio-filter li a.active-filter,
.portfolio-filter li a:hover {
    color: #f5af00;
}

/* Portfolio Item */
.portfolio-item .portfolio--img {
    position: relative;
}

.portfolio-item .portfolio--img img {
    max-width: 100%;
    height: auto;
}


/*------------------------------------*\
    #PORTFOLIO
\*------------------------------------*/
.portfolio-filter {
    margin-top: 0;
    margin-bottom: 36px;
    text-align: center;
}

.portfolio-filter ul {
    text-align: center;
    margin-bottom: 0;
}

.portfolio-filter ul li {
    padding: 0;
}

.portfolio-filter ul li a {
    font-size: 16px;
    font-family: Roboto;
    text-transform: capitalize;
    color: #adadad;
    font-weight: 400;
    display: block;
    position: relative;
    padding-right: 22px;
    margin-right: 15px;
}

.portfolio-filter ul li a:before {
    content: "/";
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 400;
}

.portfolio-filter ul li a:hover,
.portfolio-filter ul li a.active-filter {
    color: #000;
    padding-bottom: 2px;
}
.portfolio-filter ul li a:hover span {
    color: #000;
    /*border-bottom: 0.1em solid #77889B;*/
    /*padding-bottom: 2px;*/
    font-weight: 600;
}
.portfolio-filter ul li a.active-filter span {
    border-bottom: 0.1em solid;
    padding-bottom: 2px;
    font-weight: 600;
}

.portfolio-filter ul li:last-of-type a {
    padding-right: 0;
    margin-right: 0;
}

.portfolio-filter ul li:last-of-type a:before {
    display: none;
}

.portfolio--img {
    position: relative;
    overflow: hidden;
    /*padding: 15px;*/
}

.portfolio--img img {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    /*-webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;*/
}

.portfolio--img .portfolio--hover {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 40px;
    opacity: 0;
    background-color: #adadadf5;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.portfolio--hover .portfolio--meta {
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -o-transform: translateY(-100px);
    -ms-transform: translateY(-100px);
    transform: translateY(-100px);
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.portfolio--hover h6 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0;
}

.portfolio--hover h4 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 11px;
}

.portfolio--img:hover img {
    /*	-webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);*/
}

.portfolio--img:hover .portfolio--hover {
    opacity: 0.95;
}

.portfolio--img:hover .portfolio--meta {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.portfolio--img:hover .portfolio--meta h6 {
    transition-delay: 0.2s;
}

.portfolio--img:hover .portfolio--meta h2 {
    transition-delay: 0.2s;
}

.portfolio--zoom {
    margin-bottom: 17px;
}

.portfolio--zoom a {
    display: inline-block;
    position: relative;
    width: 26px;
    height: 26px;
}

.portfolio--zoom a:before {
    position: absolute;
    content: "";
    left: 0;
    top: 13px;
    width: 26px;
    height: 1px;
    background-color: #ffffff;
}

.portfolio--zoom a:after {
    position: absolute;
    content: "";
    left: 12px;
    top: 0;
    width: 1px;
    height: 26px;
    background-color: #ffffff;
}

/* portfolio #2 */
.portfolio.portfolio-item {
    margin-bottom: 30px;
}

.portfolio .portfolio--img .portfolio--hover {
    text-align: center;
}

.portfolio .portfolio--hover .portfolio--meta {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 1;
    position: relative;
    top: 50%;
}

.portfolio .portfolio--img:hover .portfolio--meta {
    opacity: 1;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.portfolio .portfolio--hover h6 a {
    color: #ffffff;
}

.portfolio .portfolio--hover h6 a:hover {
    color: #ffffff;
}

.margin-content {
    margin: 30px;
}


@media only screen and (max-width: 390px) {

    .margin-content {
        margin: auto;
        height: 200px !important;
    }

    .modal-image {
        height: 150px !important;
        width: 150px !important;
    }

    .modal-text-16 {
        font-size: 16px !important;
    }

    .modal-text-14 {
        font-size: 14px !important;
    }

    .modal-body {
        height: 200px !important;
    }

    .element-with-scroll {
        max-height: 150px !important;
    }
}


/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) and (max-width: 767px) {

    .portfolio-filter ul li a {
        margin-right: 5px;
    }

    .portfolio-filter ul li {
        margin-right: 5px;
        padding-right: 15px;
    }


}
