/************************************************
$ Image Gallery
************************************************/
.gallery {
    border: 0;
    border-radius: 0;
}

.gallery .main {
    border: 1px solid #e1e1e1;
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
	/* Box Shadow: override defaults */	
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
}

.interior-page .main-content .gallery li, /* stupid global styles */
.gallery ul li {
    margin: 0;
    padding: 0;
}

.gallery .slides li {
    /*background-color: #000;*/
	background-color: #ffffff;
}

.gallery li:before {
    display: none;
}

.gallery .slides img {
	height: auto;
	margin: 0 auto;
	width: auto;
}

.gallery a {
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.gallery .flex-direction-nav .flex-next,
.gallery .flex-direction-nav .flex-prev {
    font-size: 100px;
    height: 120px;
    margin-top: -60px;
    width: 120px;
}

.gallery .flex-direction-nav a:before {
    display: none;
}

.gallery .thumbnails {
    border-top: solid 2px #fff;
}

.gallery .thumbnails .row {
    margin-left: 0;
    margin-right: 0;
}

.interior-page .gallery .thumbnails li, /* more stupid global styles */
.gallery .thumbnails li {
    /*background-color: #000;*/
	background-color: #ffffff;;
    border-left: solid 2px #fff;
    padding-left: 0;
    padding-right: 0;
}

.interior-page .gallery .thumbnails li:first-child, /* more stupid global styles */
.gallery .thumbnails li:first-child {
    border-left: 0;
}

.gallery .thumbnails .thumbnail > img,
.gallery .thumbnails .thumbnail a > img {
    margin: 0;
}


/***** Thumbnail hover styles *****/

.gallery .thumbnails a img {
	margin: 0 auto;
}

.gallery .thumbnails a:after {
	background-color: transparent;
	border: 1px solid #e1e1e1;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	/* Transitions */
    -webkit-transition: background-color 300ms 100ms;
    -moz-transition: background-color 300ms 100ms;
    -ms-transition: background-color 300ms 100ms;
    -o-transition: background-color 300ms 100ms;
    transition: background-color 300ms 100ms;
}

.gallery .thumbnails a:hover:after,
.gallery .thumbnails a.active:after {
    background-color: rgba(0, 160, 64, .75);	
}




@media (max-width: 767px) {

    .gallery .flex-direction-nav .flex-next,
    .gallery .flex-direction-nav .flex-prev {
        font-size: 50px;
        height: 60px;
        margin-top: -30px;
        width: 60px;
    }

}