#gallery-section {
    position: relative;
}

#gallery-section h2 {
    color: #e65700;
    font-size: 48px;
}

@media (min-width: 992px) {


    #gallery-section {
        min-height: 30vh;
    }

}


.row-gallery {
    margin-right: -15px;
    margin-left: -15px;
}


.item-gallery {
    display: block;
    float: left;
    width: 50%;
    height: 150px;
    padding: 0px 15px;
    margin-bottom: 30px;
}



.box-gallery {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    -webkit-transition: all 1s ease-in-out;
    -khtml-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}




.box-gallery a {
    display: block;

    width: 100%;
    height: 100%;
}



.box-gallery .box-zoom {
    position: absolute;
    background: rgba(34, 34, 34, 0);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    -webkit-transition: all 0.3s ease-in-out;
    -khtml-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.box-gallery .box-zoom:before {
    content: '';
    position: absolute;
    right: 30px;
    top: 30px;
    left: 30px;
    bottom: 30px;
    background: transparent;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -khtml-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.box-gallery .box-zoom:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 15px;
    left: 15px;
    bottom: 15px;
    background: transparent;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -khtml-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}


.box-gallery .box-zoom .icon {
    color: #e65700;
    font-size: 65px;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out;
    -khtml-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.item-gallery:hover .box-gallery .box-zoom {
    background: rgba(29, 29, 29, 0.7);
    -webkit-transition: all 0.3s ease-in-out;
    -khtml-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.item-gallery:hover .box-gallery .box-zoom:before {
    right: 15px;
    top: 15px;
    left: 15px;
    bottom: 15px;
    opacity: 1;
    -webkit-transition: all 0.2s ease-in-out;
    -khtml-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.item-gallery:hover .box-gallery .box-zoom:after {
    right: 30px;
    top: 30px;
    left: 30px;
    bottom: 30px;
    opacity: 1;
    -webkit-transition: all 0.2s ease-in-out;
    -khtml-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.item-gallery:hover .box-gallery .box-zoom .icon {
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    -khtml-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}





@media (min-width: 748px) {
    .item-gallery {
        display: block;
        float: left;
        width: 50%;
        height: 300px;
        padding: 0px 15px;
    }
}

@media (min-width: 1024px) {
    .item-gallery:nth-child(6n+1) {
        float: left;
        height: 35vh;
        padding: 0px 15px;
        padding-bottom: 30px;
        /*display: inline-block;*/
        width: 50%;
        margin-bottom: 0px;
    }


    .item-gallery:nth-child(6n+2) {
        float: left;
        height: 35vh;
        padding: 0px 15px;
        padding-bottom: 30px;
        /*display: inline-block;*/
        width: 25%;
        margin-bottom: 0px;
    }


    .item-gallery:nth-child(6n+3) {
        float: left;
        height: 35vh;
        padding: 0px 15px;
        padding-bottom: 30px;
        /*display: inline-block;*/
        width: 25%;
        margin-bottom: 0px;
    }

    .item-gallery:nth-child(6n+4) {
        float: left;
        height: 35vh;
        padding: 0px 15px;
        padding-bottom: 30px;
        /*display: inline-block;*/
        width: 25%;
        margin-bottom: 0px;
    }

    .item-gallery:nth-child(6n+5) {
        float: left;
        height: 35vh;
        padding: 0px 15px;
        padding-bottom: 30px;
        /*display: inline-block;*/
        width: 50%;
        margin-bottom: 0px;
    }

    .item-gallery:nth-child(6n+6) {
        float: left;
        height: 35vh;
        padding: 0px 15px;
        padding-bottom: 30px;
        /*display: inline-block;*/
        width: 25%;
        margin-bottom: 0px;
    }

}