﻿.da-thumbs li, .da-thumbs li img {
    display: block;
    position: relative;
    width: 100%;
}

.da-thumbs li {
    overflow: hidden;
}

    .da-thumbs li article {
        position: absolute;
        background-repeat: repeat;
        width: 100%;
        height: 100%;
    }

        .da-thumbs li article.da-animate {
            -webkit-transition: all .2s ease;
            -moz-transition: all .2s ease-in-out;
            -o-transition: all .2s ease-in-out;
            -ms-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
        }

.da-slideFromTop {
    left: 0;
    top: -100%;
}

.da-slideFromBottom {
    left: 0;
    top: 100%;
}

.da-slideFromLeft {
    top: 0;
    left: -100%;
}

.da-slideFromRight {
    top: 0;
    left: 100%;
}

.da-slideTop {
    top: 0;
}

.da-slideLeft {
    left: 0;
}

.da-thumbs li article a {
    color: #fff;
    padding: 20px;
    display: block;
    height: 100%;
}

.da-thumbs {
    text-align: center;
}

    .da-thumbs li article h3 {
        color: #fff;
    }

    .da-thumbs li article span {
        color: #fff;
        display: block;
    }

.photo-icon i {
    font-size: 36px;
    margin: 25% 0 0;
    display: block;
}

.video-icon i {
    font-size: 36px;
    margin: 20% 0 0;
    display: block;
}

a.i {
    text-decoration: none;
}

span.zoom {
    overflow: hidden;
    display: block;
    width: 35px;
    height: 35px;
    background-color: #DF6232;
    border-radius: 50px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
}

.portfolio_2col article h3 {
    padding-top: 70px !important;
}

.image_grid {
    float: left;
    overflow: hidden;
    width: 100%;
    position: relative;
}

    .image_grid li {
        float: left;
        line-height: 17px;
        color: #686f74;
        list-style: none;
        overflow: hidden;
        text-align: center;
    }
    #overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    top: 0;
    left: 0;
    z-index: 9999;
}

#popup {
    background-attachment: scroll;
    background-clip: border-box;
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    display: none;
    height: 450px;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    top: 40px;
    width: 800px;
    z-index: 111111112;
    background-image: url(./img/caption-back.png);
}

    #popup #popclose {
        background-attachment: scroll;
        background-clip: border-box;
        background-image: none;
        background-origin: padding-box;
        background-position: 0 0;
        background-repeat: repeat;
        background-size: auto auto;
        cursor: pointer;
        height: 27px;
        position: absolute;
        right: -26px;
        text-align: center;
        top: -26px;
        width: 27px;
        z-index: 1111111119;
        margin-left: 530px;
        margin-bottom: -53px;
    }

@media only screen and (max-width: 480px) {
    .image_grid {
        width: 100%;
    }

        .image_grid li img {
            width: 100%;
        }

    .portfolio-items-wrap .portfolio-item {
        width: 100% !important;
    }
        #popup {
        height: 250px;
        width: 300px;
    }
}

@media only screen and (max-width: 767px) {
    .image_grid {
        width: 100%;
    }

        .image_grid li img {
            width: 100%;
        }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .image_grid li {
        width: 100% !important;
    }

    .portfolio_4col .da-thumbs li article h3 {
        padding-top: 58px;
    }

    .portfolio_3col .da-thumbs li article h3 {
        padding-top: 34px;
    }

    .portfolio_2col .da-thumbs li article h3 {
        padding-top: 23px !important;
    }
    
    #popup {
        height: 300px;
        width: 450px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1024) {
    #popup {
        height: 450px;
        width: 630px;
    }
}

