
#main {
	position:relative;
}

/* Arrows */
#ssArrows {
	position:absolute;
	top:68px;
	width:100%
}

#ssLArrow {
	float:left;
	display:inline;
	margin-left:1px
}

#ssRArrow {
	float:right;
	display:inline;
	margin-right:1px
}

/* Gallery styles */

#gallery {
	border:1px solid #a8a8a8;
	width:611px;
	height:198px;
	overflow:hidden;
}

#slides {
	/* This is the slide area */
	width:611px;
	height:157px;
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	overflow:hidden;
}

.slide {
	float:left;
	display:inline;
}

#slide_menu {
	/* This is the container for the thumbnails */
	height:38px;
	padding-top:2px;
	background:#f2f4f5;
	border-bottom:1px solid #fbfeff
}

#slide_menu ul {
	margin:0;
	padding:0 10px 0 0;
	text-align: right;
	
	margin-left:auto;
	float:right;
	display:inline
}

#slide_menu li {
	/* Every thumbnail is a li element */
	width:38px;
	/*display:inline-block;*/
	list-style:none;
	height:38px;
	overflow:hidden;
	
	float:left;
	display:inline;
	margin-left:3px;
}

#slide_menu li.inact:hover {
	/* The inactive state, highlighted on mouse over */
	background:none
}

#slide_menu li.act, #slide_menu li.act:hover {
	/* The active state of the thumb */
	background:none;
	text-align: center;
}

#slide_menu li.act a {
	cursor:default;
	border:1px solid #7d7d7d;
}

.fbar {
	/* The left-most vertical bar, next to the first thumbnail */
	width:2px;
	background:red;
}

#slide_menu li a {
	display:block;
	background:none;
	height:36px;
	width:36px;
	border:1px solid #ccc;
	padding-top:0;
	

}

#slide_menu a img {
	border:none;
}

