/* ---------------------- 
Stylesheet Guide
-------------------------

PORTFOLIO FILTERS
PORTFOLIO ONE COLUMN
MASONRY PORTFOLIO
PORTFOLIO SQUARE
MEDIA

*/

/* ================= PORTFOLIO FILTERS ================== */

.isg-filter-menu-icon {
    display: none;
    padding: 15px 20px;
    cursor: pointer;
}

.isg-portfolio-filter {
    position: relative;
    display: block;
    width: 100%;
    margin: 40px 0px 0px 0px;
    padding: 0px;
}

.isg-portfolio-filter::after {
    clear: both;
    content: "";
    display: table;
}

.isg-portfolio-filter li {
    margin: 0px 1px 1px 0px;
    display: inline-block;
    float: left;
    padding: 15px 20px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* ================= PORTFOLIO ONE COLUMN ================== */

.isg-portfolio-container {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    max-width: 900px;
}

.isg-portfolio-container.isg-portfolio-without-filters {
    margin-top: 0px;
}

figure.isg-portfolio-item {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0px 0px 30px 0px;
    width: 100%;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    visibility: visible;
    opacity: 1;
    height: auto;
}

figure.isg-portfolio-item.hide-item {
    visibility: hidden;
    opacity: 0;
    height: 0px;
    margin: 0px;
}

figure.isg-portfolio-item:last-child {
    margin: 0px;
}

figure.isg-portfolio-item * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

figure.isg-portfolio-item figcaption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 3;
}

figure.isg-portfolio-item figcaption h4,
figure.isg-portfolio-item figcaption p {
    margin: 0px;
    line-height: 1;
}

figure.isg-portfolio-item figcaption p {
    margin-top: 5px;
    opacity: 0.7;
}

figure.isg-portfolio-item img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

figure.isg-portfolio-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    border-radius: 50%;
    font-size: 30px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    transition: all 300ms 0ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
    z-index: 1;
}

figure.isg-portfolio-item a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 100%;
}

figure.isg-portfolio-item:after {
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    content: '';
    -webkit-transform: translateZ(0) translateY(100%);
    -moz-transform: translateZ(0) translateY(100%);
    -ms-transform: translateZ(0) translateY(100%);
    -o-transform: translateZ(0) translateY(100%);
    transform: translateZ(0) translateY(100%);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

figure.isg-portfolio-item:hover i {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    transition: all 300ms 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

figure.isg-portfolio-item:hover:after {
    -webkit-transform: translateZ(0) translateY(0px);
    -moz-transform: translateZ(0) translateY(0px);
    -ms-transform: translateZ(0) translateY(0px);
    -o-transform: translateZ(0) translateY(0px);
    transform: translateZ(0) translateY(0px);
}

figure.isg-portfolio-item:hover img {
    -webkit-transform: translateZ(0) translateY(-25%);
    -moz-transform: translateZ(0) translateY(-25%);
    -ms-transform: translateZ(0) translateY(-25%);
    -o-transform: translateZ(0) translateY(-25%);
    transform: translateZ(0) translateY(-25%);
}

/* ================= MASONRY PORTFOLIO ================== */

.cvgrid {
    list-style-type: none;
    position: relative;
    margin: 0px;
    padding: 0px;
    display: none;
}

.cvgrid li {
    padding: 0px;
    margin: 0px;
    opacity: 1;
    list-style-type: none;
}

.cvgrid li.cvgrid-animate {
    -webkit-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -ms-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -o-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -ms-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -o-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.cvgrid li.wookmark-inactive {
    visibility: hidden;
    opacity: 0;
}

.cvgrid li figure {
    position: relative;
    padding: 0px;
    margin: 0px;
}

.cvgrid li figure figcaption .cvgrid-title {
    margin: 0px;
    text-decoration: none;
    line-height: 1;
    outline: none;
    text-align: center;
    padding: 20px;
}

.cvgrid > li > figure > a {
    position: relative;
    outline: none;
    overflow: hidden;
    display: block;
}

.cvgrid > li > figure > a:after {
    position: absolute;
    text-align: center;
    line-height: 1;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    font-family: 'FontAwesome';
    speak: none;
    font-style: normal;
    font-weight: normal;
    text-indent: 0em;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    margin-top: -25px;
    margin-left: -25px;
    padding: 14px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cvgrid > li > figure > a:hover:after {
    opacity: 1;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.cvgrid > li > figure > a.cvgrid-img:after {
    content: "\f002";
}

.cvgrid > li > figure > a.cvgrid-video:after {
    content: "\f04b";
}

.cvgrid > li > figure > a.cvgrid-link:after {
    content: "\f0c1";
}

.cvgrid > li > figure > a > img {
    width: 100%;
    display: block;
    padding: 0px;
    margin: 0px;
    border: none;
    vertical-align: bottom;
    overflow: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cvgrid > li > figure > a:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0.3;
}

.cvgrid li figure figcaption {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ================= PORTFOLIO SQUARE ================== */

.dvsquare {
    position: relative;
    overflow: hidden !important;
}

.dvsquare > a {
    outline: none !important;
    display: block;
}

.dvsquare > a > img {
    width: 100%;
    display: block;
    padding: 0px !important;
    margin: 0px !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: none;
    vertical-align: bottom;
    overflow: hidden;
    opacity: 1;
}

.dvsquare > a:hover img {
    opacity: 0.3;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.dvsquare > a:after {
    position: absolute;
    text-align: center;
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    font-family: 'FontAwesome';
    speak: none;
    font-style: normal;
    font-weight: normal;
    text-indent: 0em;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    margin-top: -25px;
    margin-left: -25px;
    padding: 14px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.dvsquare > a:hover:after {
    opacity: 1;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.dvsquare > a.cvgrid-img:after {
    content: "\f002";
}

.dvsquare > a.cvgrid-video:after {
    content: "\f04b";
}

.dvsquare > a.cvgrid-link:after {
    content: "\f0c1";
}

/* ================= MEDIA ================== */

@media only screen and (max-width: 1024px) {
    figure.isg-portfolio-item:after,
    figure.isg-portfolio-item i {
        display: none;
    }
    figure.isg-portfolio-item:hover img {
        -webkit-transform: translateZ(0) translateY(0);
        -moz-transform: translateZ(0) translateY(0);
        -ms-transform: translateZ(0) translateY(0);
        -o-transform: translateZ(0) translateY(0);
        transform: translateZ(0) translateY(0);
    }
}

@media only screen and (max-width: 800px) {
    .isg-portfolio-filter {
        display: none;
        margin: 0px;
    }
    .isg-filter-menu-icon {
        display: block;
    }
    .isg-portfolio-filter li {
        margin: 1px 0px 0px 0px;
        display: block;
        float: none;
    }
}

@media only screen and (max-width: 480px) {
    .isg-portfolio-container {
        margin-top: 20px;
    }
    figure.isg-portfolio-item {
        margin: 0px 0px 20px 0px;
    }
}