
.gallery {
	background: #ccc;
	clear: both;
	margin-bottom: 20px;
	margin-top: 20px;
	padding-left: 24px;
	padding-top: 5px;
}
.jcarousel-wrapper {
    position: relative;
}


/** Carousel **/

.jcarousel {
    position: relative;
    overflow: hidden;
    width: 580px;
    height: 150px;
    margin-right: 5px;
}

.jcarousel ul {
    width: 20000em;
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jcarousel li {
    float: left;
    margin-right: 11px;
    list-style: none;
}
.jcarousel li:nth-child(3n+3) {
    /* margin-right: 0px; */
}
.jcarousel img {
	width: 186px;
}

/** Carousel Controls **/

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #4E443C;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}

.jcarousel-control-prev {
	margin-top: -88px;
    margin-left: -20px;
}

.jcarousel-control-next {
	margin-top: -88px;
    margin-left: 568px;
}

.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}

.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .1;
    cursor: default;
}


/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (min-width: 960px) {
		.jcarousel img {
		}
	}
	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {

		.gallery {
			margin-bottom: 20px;
			margin-top: 10px;
		}
	}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		.jcarousel {
			width: 454px;
			height: 114px;
		}
		.jcarousel img {
			width: 144px;
		}
		.jcarousel-control-prev {
		margin-top: -75px;
		}
		.jcarousel-control-next {
		margin-top: -75px;
		margin-left: 440px;
		}
		
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {

		.jcarousel {
			width: 350px;
			height: 86px;
		}
		.jcarousel img {
			width: 108px;
		}
		.jcarousel-control-prev {
		margin-top: -58px;
		}
		.jcarousel-control-next {
		margin-top: -58px;
		margin-left: 332px;
		}
		.jcarousel li:nth-child(3n+3) {
		    margin-right: 5px;
		}

		.gallery {
			margin-bottom: -10px;
			margin-top: 0px;
		}


	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {

	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {

		.jcarousel {
			width: 250px;
			height: 620px;
		}
		.jcarousel ul {
		    height: 20000em;
		    width: 250px;
		}
		.jcarousel img {
			width: 250px;
		}
		.jcarousel li {
		    margin-right: 0px;
		    padding-bottom: 10px;
		}
		.gallery {
			padding-left: 10px;
			padding-right: 15px;
			width: 245px;
			margin-bottom: 40px;
			margin-top: 20px;
			padding-top: 25px;
		}
	}

	@media only screen and (max-width: 320px) {

		
	}

