﻿.demo-gallery > ul {
    margin-bottom: 0;
}

    .demo-gallery > ul > li {
        flex: 33%;
        max-width: 33%;
        float: left;
        margin-bottom: 10px;
        margin-right: 0px;
        padding-left: 5px;
        padding-right: 5px;
    }

        .demo-gallery > ul > li:hover .button, .demo-gallery > ul > li:hover .tblInfo {
            visibility: visible;
        }

        .demo-gallery > ul > li a {
            border: 2px solid #FFF;
            border-radius: 5px;
            display: block;
            overflow: hidden;
            position: relative;
            float: left;
            width: 100%;
            max-height: 278px;
        }

            .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);
                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 screen and (max-width: 1000px) {
    .demo-gallery > ul > li {
        flex: 50%;
        max-width: 50%;
        float: left;
        margin-bottom: 10px;
        margin-right: 0px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (max-width: 800px) {
    .demo-gallery > ul > li {
        flex: 80%;
        max-width: 80%;
        float: left;
        margin-bottom: 10px;
        margin-right: 0px;
        padding-left: 5px;
        padding-right: 5px;
    }
}







.container {
    width: 90%;
    position: relative;
    margin: 0 auto;
}

.mainbg {
    background-image: none;
}

.innerbanner {
    height: 400px;
    background-image: url(../images/events/banner1.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

    .innerbanner::after {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        content: "";
        display: inline-block;
        background: rgba(238, 67, 49, 0.9);
        height: 400px;
    }

    .innerbanner h1 {
        position: relative;
        z-index: 1;
        margin: auto;
        top: 200px;
        color: white;
        font-size: 50px;
        text-transform: uppercase;
        letter-spacing: 20px;
    }

#content_div .ourcompany {
    display: flex;
    padding: 0px 0 10px;
}

.nav {
    width: 106%;
}

.lg-outer {
    z-index: 1101 !important;
}

.lg-img-wrap {
    background: black !important;
}


#lg-download, #lg-share {
    display: none;
}
