section{
    padding:90px 0;
}
.section-text p{
    margin-bottom:15px;
}
#portfolio-header{
    position: relative;
    height: 100vh;
    padding:0;
    z-index:10;
}
#portfolio-header img{
    display: none;
}
.portfolio-header{
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}
.portfolio-header-inner{
    max-width: 60%;
    margin-left: 40%;
    background: rgba(51,51,51,.9);
    color: #fff;
    padding: 26px 0 30px 44px;
    position: relative;
}
.portfolio-header-inner:before{
    content:"";
    height: 100%;
    right: -100000px;
    top: 0;
    width: 100000px;
    background: rgba(51,51,51,.9);
    position: absolute;
}
.portfolio-header-inner h1{
    font-family: 'Gramatika', sans-serif;
    font-weight: bold;
    font-size: 37px;
    line-height: 47px;
    margin-bottom:28px;
}
.portfolio-header-inner a{
    font-family: 'Gramatika', sans-serif;
    font-weight: bold;
    font-size: 26px;
    line-height: 35px;
    color: #FFFFFF;
    text-decoration: none;
    border-bottom:1px solid #fff;
}
.details{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.single-detail{
    -webkit-box-flex:0;
        -ms-flex:0 1 20%;
            flex:0 1 20%;
    padding-right: 20px;
}
.single-detail .count{
    font-family: 'Russo One', sans-serif;
    font-size: 50px;
    line-height: 1;
    color: #1967d2;
    margin-bottom:15px;
    -webkit-transition:all .5s;
    -o-transition:all .5s;
    transition:all .5s;
}
.single-detail p{
    font-size:16px;
}
.single-detail a{
    color:#333333;
    text-decoration: none;
}
.single-detail p.title{
    font-weight:bold;
    margin-bottom:7px;
}
#aim{
    background-position:right center;
    background-size:39%;
    background-repeat: no-repeat;
    padding:0;
    margin:30px 0 90px;
    z-index:10;
    position: relative;
}
.aim-text{
    padding:65px 0;
    max-width:60%;
} 
.aim-text p.section-title{
    margin-bottom:35px;
}
#features{
    background: #2B2B2B;
    color:#fff;
}
.features{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.gif{
    -webkit-box-flex:0;
        -ms-flex:0 1 50%;
            flex:0 1 50%;
}
.gif img{
    width:100%;
    border: 17px solid #111111;
    border-radius: 8px;
}
.features-text{
    -webkit-box-flex:0;
        -ms-flex:0 1 40%;
            flex:0 1 40%;
}
.features .section-title{
    margin-bottom:35px;
}
.project{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.project .section-title{
    margin-bottom:45px;
}
.project-text{
    -webkit-box-flex:0;
        -ms-flex:0 1 60%;
            flex:0 1 60%;
    padding-right:85px;
}
.project-img{
    -webkit-box-flex:0;
        -ms-flex:0 1 40%;
            flex:0 1 40%;
}
#portfolio-gallery{
    background: #1967d2;
    z-index:10;
    position: relative;
}
#top-carousel{
    margin-bottom:77px;
}
#bottom-carousel{
    direction:rtl;
}
#portfolio-gallery .slick-slide img{
    -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}
#results{
    background: #2B2B2B;
    color:#fff;
}
#results .section-subtitle{
    color:#fff;
}
#results .section-subtitle:before{
    background:#fff;
}
.results{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.results-text{
    -webkit-box-flex:0;
        -ms-flex:0 1 30%;
            flex:0 1 30%;
}
.results-img{
    -webkit-box-flex:0;
        -ms-flex:0 1 60%;
            flex:0 1 60%;
    -moz-column-count: 2;
    -moz-column-gap: 3%;
    -moz-column-width: 50%;
    -webkit-column-count: 2;
    -webkit-column-gap: 3%;
    -webkit-column-width: 50%;
    column-count: 2;
    column-gap: 3%;
    column-width: 50%;
}
.results-img > div{
    margin-bottom:20px;
}
#single-portfolio-gallery{
    background: #F3F6FF;
    text-align: center;
}
#single-portfolio-gallery.nopadding{
    padding:0;
    height:1048px;
    z-index:10;
    position: relative;
}
#single-portfolio-gallery .main-img{
    display: block;
    padding:0 3px;
    margin-bottom:100px;
}
#single-portfolio-gallery .section-title{
    font-size: 30px;
    margin-bottom:60px;
}
.palette{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; 
}
.single-palette{
    -webkit-box-flex:0;
        -ms-flex:0 1 20%;
            flex:0 1 20%
}
.single-palette div{
    width:80px;
    height:80px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    margin-bottom:20px;
    margin:0 auto 30px;
    -webkit-box-shadow: 0px 4px 30px rgba(83, 162, 255, 0.15);
            box-shadow: 0px 4px 30px rgba(83, 162, 255, 0.15);
}
.single-palette p{
    font-weight: bold;
}
.youtube{
    margin-top:100px;
}
#portfolio-gallery-unique{
    background: #2B2B2B;
}
#portfolio-gallery-unique .title{
    font-family: 'Gramatika', sans-serif;
    font-size: 30px;
    color: #FFFFFF;
    margin-bottom:45px;
}
.top-gallery{
    -moz-column-count: 2;
    -moz-column-gap: 3%;
    -moz-column-width: 50%;
    -webkit-column-count: 2;
    -webkit-column-gap: 3%;
    -webkit-column-width: 50%;
    column-count: 2;
    column-gap: 3%;
    column-width: 50%;
    margin-bottom:90px;
}
.top-gallery > div{
    margin-bottom:90px;
}
.bottom-gallery{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.bottom-gallery > div{
    border:8px solid #111111;
    border-radius: 8px;
}
#portfolio-gallery-unique .bottom-gallery img{
    margin-bottom:-5px;
}
@media(min-width:1025px){
    .bottom-gallery > div:nth-child(2){
        margin:0 60px;
    }
    .bottom-gallery > div:nth-child(2) img{
        max-height:340px;
    }
}
#portfolio-gallery-dkhouse{
    background: #212121;
}
.portfolio-gallery-dkhouse .title{
    font-family: 'Gramatika', sans-serif;
    font-size: 26px;
    color: #FFFFFF;
    margin-bottom:40px;
}
.portfolio-gallery-dkhouse{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.dark-portfolio, .light-portfolio{
    -webkit-box-flex:0;
        -ms-flex:0 1 38%;
            flex:0 1 38%;
}
.dark-portfolio > div:not(:last-child) img, .light-portfolio > div:not(:last-child) img{
    margin-bottom:90px;
}
#mobile-portfolio{
    -webkit-box-flex:0;
        -ms-flex:0 1 18%;
            flex:0 1 18%;
    margin-top:120px;
}
.mobile-portfolio{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.mobile-portfolio > div{
    -webkit-box-flex:0;
        -ms-flex:0 1 42%;
            flex:0 1 42%;
}
.mobile-portfolio-right{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: justify;
        align-content: space-between;
}
.light-portfolio{
    margin-top:60px;
}
.portfolio .slick-list{
    overflow:visible;
    position: relative;
}
.portfolio .slick-list:after{
    content: '';
    height: 100%;
    left: -100000px;
    top: 0;
    width: 100000px;
    background: #fff;
    position: absolute;
}
.single-portfolio {
    margin-right: 80px;
    padding-top:480px;
    background-position:50% 100%;
    background-size:cover;
    max-width: 650px;
    position: relative;
}
.single-portfolio-meta{
    position: absolute;
    top: 35px;
    left: 55px;
    right:110px;
}
.portfolio-title{
    font-family: 'Gramatika', sans-serif;
    font-weight: bold;
    font-size: 26px;
    line-height: 35px;
    margin-bottom:18px;
}
.single-portfolio-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.portfolio-subtitle, .single-portfolio .read-more{
    display: none;
}
.single-portfolio .read-more{
    margin-top: 35px;
}
.single-portfolio:hover .single-portfolio-overlay{
    opacity:.8;
}
.single-portfolio:hover .portfolio-subtitle, .single-portfolio:hover .read-more{
    display: flex;
}
.portfolio-nav {
    margin-top:33px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.portfolio-nav .arrow {
    position: relative;
    right:auto;
    top:auto;
}
.portfolio-nav .prev .arrow {
    -webkit-transform:rotate(180deg);
        -ms-transform:rotate(180deg);
            transform:rotate(180deg);
    margin-right:10px;
}
.portfolio-nav .slick-arrow{
    padding: 15px 10px;
    cursor: pointer;
}
.details-nav{
    display:none;
}
@media(max-width:1520px){
    .single-portfolio{
        margin-right: 50px;
        max-width: 530px;
        background-position:right bottom;
        padding-top: 390px;
    }
    .single-portfolio-meta {
        top: 20px;
        left: 35px;
    }
    .portfolio-title {
        font-size: 20px;
        line-height: 26px;
    }
    #portfolio-gallery .slick-slide img{
        padding:0 25px;
        box-shadow: none;
    }
}
@media(max-width:1366px){
    .single-portfolio {
        max-width: 470px;
        padding-top: 350px;
    }
    .aim-text{
        padding:0;
    }
    .results-img {
        -webkit-box-flex: 0;
            -ms-flex: 0 1 55%;
                flex: 0 1 55%;
    }
    .results-text {
        -webkit-box-flex: 0;
            -ms-flex: 0 1 40%;
                flex: 0 1 40%;
    }
}
@media(max-width:1280px){
    .single-portfolio{
        max-width: 450px;
        margin-right: 37px;
    }
    .portfolio-archive .portfolio-title{
        font-size:20px;
    }
}
@media(max-width:1200px){
    .single-portfolio{
        max-width: 420px;
    }
    .portfolio-archive .portfolio-title{
        font-size: 26px;
        line-height: 26px;
    }
}
@media(max-width:1024px){
    #portfolio-header{
        height:auto;
    }
    .portfolio-header{
        background:none !important;
        display: block;
        position: relative;
    }
    #portfolio-header img{
        display: block;
        width:100%;
        padding-top:76px;
    }
    .portfolio-header-inner:after{
        content: "";
        height: 100%;
        left: -100000px;
        top: 0;
        width: 100000px;
        background: rgba(51,51,51,.9);
        position: absolute;
    }
    .portfolio-header-inner {
        max-width: 100%;
        margin-left: 0;
    }
    #aim{
        background:none !important;
    }
    .aim-text{
        max-width:100%;
    }
    .features{
        -ms-flex-wrap:wrap;
            flex-wrap:wrap;
    }
    .gif, .features-text{
        -webkit-box-flex:0;
            -ms-flex:0 1 100%;
                flex:0 1 100%;
        -webkit-box-ordinal-group:3;
            -ms-flex-order:2;
                order:2;
    }
    .features-text{
        -webkit-box-ordinal-group:2;
            -ms-flex-order:1;
                order:1;
        margin-bottom:25px;
    }
    .project-text{
        -webkit-box-flex:0;
            -ms-flex:0 1 100%;
                flex:0 1 100%;
        padding-right:0;
    }
    .project-img{
        display:none;
    }
    .project .section-title {
        margin-bottom: 25px;
    }
    .results{
        display: block;
    }
    .results-img{
        margin-top:25px;
    }
    #mobile-portfolio{
        display:none;
    }
    .portfolio-gallery-dkhouse{
        display: block;
    }
    .dark-portfolio{
        -webkit-box-flex:0;
            -ms-flex:0 1 100%;
                flex:0 1 100%;
    }
    .dark-portfolio div:not(:first-of-type), .light-portfolio div:not(:first-of-type){
        display: none;
    }
    .dark-portfolio > div:not(:last-child) img, .light-portfolio > div:not(:last-child) img {
        margin-bottom: 40px;
    }
}
@media(max-width:812px){
    .details-nav{
        margin-top: 33px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding-left:10px;
    }
    .details-nav .arrow {
        position: relative;
        right:auto;
        top:auto;
    }
    .details-nav .prev .arrow {
        -webkit-transform:rotate(180deg);
            -ms-transform:rotate(180deg);
                transform:rotate(180deg);
        margin-right:10px;
    }
    .details-nav .slick-arrow{
        padding: 15px 10px;
        cursor: pointer;
    }
    .details{
        display: block;
    }
    .single-detail{
        max-width: 90%;
        background: #F6F6F6;
        padding: 13px 18px;
    }
    #details .details .slick-list{
        padding:0 20% 0 0;
        overflow: visible !important;
    }
    .top-gallery{
        -webkit-column-count: 1;
                column-count: 1;
        margin-bottom: 15px;
    }
    .top-gallery > div {
        margin-bottom: 15px;
    }
    .bottom-gallery{
        display:block;
    }
    .bottom-gallery img{
        width:100%;
    }
    #single-portfolio-gallery .content-wrap > *:not(.main-img){
        display: none;
    }
}
@media(max-width:480px){
    section {
        padding: 60px 0;
    }
    .portfolio-header-inner{
        padding:17px 10px;
    }
    .portfolio-header-inner h1 {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 10px;
    }
    .portfolio-header-inner a{
        font-size:22px;
    }
    .results-img{
        -webkit-column-count: 1;
                column-count: 1;
    }
    .results-img > div{
        margin-bottom: 30px;
    }
    .results-img > div img{
        width:100%;
    }
    .portfolio-archive .single-portfolio-meta{
        top: 25px;
        left: 30px;
        right: 30px;
    }
    .portfolio-archive .portfolio-title{
        font-size: 18px;
        line-height: 20px;
    }
    .portfolio-archive .single-portfolio {
        padding-top: 320px;
        margin-bottom:25px;
    }
    .single-portfolio{
        max-width: unset;
        margin-right: 20px;
        padding-top: 290px;
    }
    .single-portfolio:hover .single-portfolio-meta > *:not(.portfolio-title){
        display:none;
    }
    .single-portfolio-meta{
        right: 35px;
    }
    #portfolio-gallery .slick-slide img{
        padding:0 10px;
    }
    #single-portfolio-gallery.nopadding{
        height: 170px;
        background-size:100% !important;
        background-repeat: no-repeat !important;
    }
    #top-carousel {
        margin-bottom: 35px;
    }
}
@media (orientation: landscape) and (min-width: 480px) and (max-width: 820px) {
    .portfolio-header-inner{
        padding:15px 0;
    }
    .portfolio-header-inner h1{
        margin-bottom: 10px;
        font-size: 30px;
        line-height: 40px;
    }
    .portfolio-title{
        font-size: 18px;
        line-height: 22px;
    }
    .single-portfolio-meta{
        left:20px;
        right:20px;
    }
    .single-portfolio {
        padding-top: 245px;
    }
    #portfolio-gallery .slick-slide img{
        padding:0 12px;
    }
    #single-portfolio-gallery .main-img{
        margin:0;
    }
    .single-team {
        padding-right: 30px;
    }
}