﻿/*--------------------------------------------------------------
# PopUpModel Styles
--------------------------------------------------------------*/
.modalWrap {
    display: none;
    z-index: 500;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.modalWrapBlackBack {
    overflow: hidden;
    z-index: 510;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 1);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    outline: 0;
}

.ModelContainer {
    padding: 42px 13px;
}

.GalleryModelClose {
    z-index: 580;
    position: absolute;
    right: 17px;
    top: 13px;
    cursor: pointer;
}

.modalWrapDialogContentWrap {
    /*margin: 10px;*/
}

.modalContent {
    height: auto;
    overflow: hidden;
}

.modalWrapDialog {
    z-index: 570;
    background-color: #000;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
	opacity: 0.92;
}

/* Gallery Section
--------------------------------*/
#gallery {
    background: #fff;
    padding: 80px 0;
}

    #gallery .gallery-item {
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        height: 260px;
        width: 100%;
        display: table;
        overflow: hidden;
        margin-bottom: 30px;
    }

        #gallery .gallery-item .details {
            height: 260px;
            background: #fff;
            display: table-cell;
            vertical-align: middle;
            opacity: 0;
            transition: 0.3s;
            text-align: center;
        }

            #gallery .gallery-item .details h4 {
                font-size: 16px;
                transition: opacity 0.3s, -webkit-transform 0.3s;
                transition: transform 0.3s, opacity 0.3s;
                transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
                -webkit-transform: translate3d(0, -15px, 0);
                transform: translate3d(0, -15px, 0);
                font-weight: 700;
                color: #333333;
            }

            #gallery .gallery-item .details span {
                display: block;
                color: #666666;
                font-size: 13px;
                transition: opacity 0.3s, -webkit-transform 0.3s;
                transition: transform 0.3s, opacity 0.3s;
                transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
                -webkit-transform: translate3d(0, 15px, 0);
                transform: translate3d(0, 15px, 0);
            }

        #gallery .gallery-item:hover .details {
            opacity: 0.8;
        }

            #gallery .gallery-item:hover .details h4 {
                -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
            }

            #gallery .gallery-item:hover .details span {
                -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
            }
