

/* #Portfolio
================================================== */

#projects-grid {
    position: relative;
    text-align: center;
    margin: 0 auto;
    width: 100.2%;
    max-width: 101%;
    overflow: hidden;
}
#projects-grid.in-container {
    max-width: 1320px;
}
#projects-grid.have-space {
    width: calc(100% - 50px);
    padding-top: 25px;
    padding-bottom: 25px;
}
#projects-grid:after {
    content: '';
    display: block;
    clear: both;
}
.portfolio-box-1,
.portfolio-box-1.col-3 {
    position: relative;
    float: left;
    width: 33.3333333333%;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    margin-left: -1px;
    -webkit-transform: translate3d(1px, 0, 0);
    transform: translate3d(1px, 0, 0);
}
.portfolio-box-1.col-2 {
    width: 50%;
}
.portfolio-box-1.col-4 {
    width: 25%;
}
.portfolio-box-1.col-5 {
    width: 20%;
}
.portfolio-box-1.col-2.have-space {
    width: calc(50% - 50px);
}
.portfolio-box-1.col-3.have-space {
    width: calc(33.33% - 50px);
}
.portfolio-box-1.col-4.have-space {
    width: calc(25% - 50px);
}
.portfolio-box-1.col-5.have-space {
    width: calc(20% - 50px);
}
.portfolio-box-1.full-width {
    width: calc(100% - 50px);
    margin-left: 0;
    margin: 25px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.portfolio-box-1.half-width {
    width: 50%;
}
.portfolio-box-1.quarter-width {
    width: 25%;
}
.portfolio-box-1.have-space {
    margin: 25px;
    margin-left: 24px;
    /*width:calc(33.3333333333% - 50px);*/
}
.portfolio-box-1.half-width.have-space {
    margin: 25px;
    margin-left: 24px;
    width: calc(50% - 50px);
}
.portfolio-box-1.quarter-width.have-space {
    margin: 25px;
    margin-left: 24px;
    width: calc(25% - 50px);
}
.portfolio-box-1 .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 101%;
    z-index: 1;
    background: rgba(0,0,0, .5);
    opacity: 0;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.portfolio-box-1.full-width .mask {
    opacity: .4;
}
.portfolio-box-1:hover .mask {
    opacity: .9;
}
.portfolio-box-1 h3 {
    position: absolute;
    left: 25px;
    bottom: 40px;
    font-weight: 500;
    font-size: 25px;
    line-height: 24px;
    text-align: left;
    z-index: 3;
    color: #fff;
    opacity: 0;
    display: none;
}
.portfolio-box-1:hover h3 {
    left: 40px;
    opacity: 1;
}
.portfolio-box-1 h3 span {
    font-weight: 300;
    font-size: 16px;
}
.portfolio-box-1 img{
    width: 100%;
    height: 34vh;
    object-fit: cover;
}
#portfolio-filter {
    position: absolute;
    text-align: center;
    z-index: 20;
    top: 30px;
    left: 0;
    width: 100%!important;
}
#portfolio-filter.have-space {
    top: 60px;
}
#filter {
    position: relative;
    display: inline-block;
    text-align: center;
    background-color: #181d60;
    border-radius: 30px;
    padding: 0;
    box-shadow: 0 0 15px 7px rgba(12, 12, 12, .2);
}
#filter li {
    display: inline-block;
    text-align: center;
}
#filter:after {
    content: '';
    display: block;
    clear: both;
}
#filter li a {
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    font-weight: 400;
    padding: 10px 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 10px;
    line-height: 10px;
    text-align: center;
    outline: none;
    color: #fff;
    border-radius: 30px;
    background-color: #181d60;
    border: 2px solid #181d60;
    text-decoration: none;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
#filter li .current,
#filter li a:hover {
    border: 2px solid #ebeaff;
}
.isotope-item {
    z-index: 2;
}
.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}
.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    transition-duration: 0.6s;
}
.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}
.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: top, left, opacity;
    transition-property: transform, opacity;
}
/* #Primary
================================================== */

.section {
    position: relative;
    width: 100%;
}
/* #Media Queries
================================================== */

@media only screen and (max-width: 1200px) {
    .portfolio-box-1.quarter-width {
        width: 33.3333333%;
    }
    .portfolio-box-1.quarter-width.have-space {
        margin: 15px;
        margin-left: 14px;
        width: calc(33.33333333% - 30px);
    }
}
@media only screen and (max-width: 1000px) {
    .portfolio-box-1,
    .portfolio-box-1.col-3,
    .portfolio-box-1.col-4,
    .portfolio-box-1.col-5,
    .portfolio-box-1.col-3.have-space,
    .portfolio-box-1.col-4.have-space,
    .portfolio-box-1.col-5.have-space {
        width: 50%;
    }
    .portfolio-box-1.quarter-width {
        width: 50%;
    }
    #projects-grid.have-space {
        width: calc(100% - 30px);
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .portfolio-box-1.half-width.have-space {
        margin: 15px;
        margin-left: 14px;
        width: calc(50% - 30px);
    }
    .portfolio-box-1.quarter-width.have-space {
        margin: 15px;
        margin-left: 14px;
        width: calc(50% - 30px);
    }
    .portfolio-box-1.have-space {
        margin: 15px;
        margin-left: 14px;
        /*width:calc(50% - 30px);*/
    }
}
@media only screen and (max-width: 800px) {
    #portfolio-filter.have-space,
    #portfolio-filter {
        position: relative;
        padding-top: 20px;
        padding-bottom: 20px;
        top: auto;
        left: auto;
        width: 100%;
        background-color: #181d60;
    }
    #filter {
        box-shadow: none;
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 600px) {
    .portfolio-box-1,
    .portfolio-box-1.col-2,
    .portfolio-box-1.col-3,
    .portfolio-box-1.col-4,
    .portfolio-box-1.col-5,
    .portfolio-box-1.col-2.have-space,
    .portfolio-box-1.col-3.have-space,
    .portfolio-box-1.col-4.have-space,
    .portfolio-box-1.col-5.have-space {
        width: 100%;
    }
    .portfolio-box-1.half-width {
        width: 100%;
    }
    .portfolio-box-1.quarter-width {
        width: 100%;
    }
    #projects-grid.have-space {
        width: calc(100% - 30px);
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .portfolio-box-1.half-width.have-space {
        margin: 15px;
        margin-left: 14px;
        width: calc(100% - 30px);
    }
    .portfolio-box-1.quarter-width.have-space {
        margin: 15px;
        margin-left: 14px;
        width: calc(100% - 30px);
    }
    .portfolio-box-1.have-space {
        margin: 15px;
        margin-left: 14px;
        /*width:calc(100% - 30px);*/
    }
}
@-webkit-keyframes anim-moema-1 {
    60% {
        -webkit-transform: scale3d(0.8, 0.8, 1);
        transform: scale3d(0.8, 0.8, 1);
    }
    85% {
        -webkit-transform: scale3d(1.2, 1.2, 1);
        transform: scale3d(1.2, 1.2, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes anim-moema-1 {
    60% {
        -webkit-transform: scale3d(0.8, 0.8, 1);
        transform: scale3d(0.8, 0.8, 1);
    }
    85% {
        -webkit-transform: scale3d(1.2, 1.2, 1);
        transform: scale3d(1.2, 1.2, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@-webkit-keyframes anim-moema-2 {
    to {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes anim-moema-2 {
    to {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
section {
    position: relative;
}
#filter li a {
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
}
.big-height {
    height: 85vh;
}
.demo-gallery > ul {
    margin-bottom: 0;
}
.demo-gallery > ul > li {
    float: left;
    margin-bottom: 15px;
    margin-right: 20px;
    width: 200px;
}
.demo-gallery > ul > li a {
    border: 3px solid #FFF;
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
}
.demo-gallery > ul > li a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}
.demo-gallery > ul > li a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery > ul > li a:hover .demo-gallery-poster > img {
    opacity: 1;
}
.demo-gallery > ul > li a .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.demo-gallery > ul > li a .demo-gallery-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.demo-gallery > ul > li a:hover .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .justified-gallery > a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}
.demo-gallery .justified-gallery > a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster > img {
    opacity: 1;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .video .demo-gallery-poster img {
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    opacity: 0.8;
    width: 48px;
}
.demo-gallery.dark > ul > li a {
    border: 3px solid #04070a;
}
.home .demo-gallery {
    padding-bottom: 80px;
}
@media only screen and (min-width: 40.063em) {
    .row {
        padding: 0;
    }
}


    .portfolio-box-1 img {
    width: 100%;
    height: 34vh;
    object-fit: cover;
    }
    .portfolio-filter {
      top: -3.5em!important;
    }
    .demo-gallery {
      margin-top: 5em!important;
    }
