/* Circular Content Carousel Style */
.carousel-inner {
	/* text-align: center; */
	/* top: -20px; */
}

.ca-container{
	position:relative;
	
	margin-left:auto;
	margin-right:auto;
	/* Matt..... changed this to 93 so it only shows 3 of 4 panes */
	width:93%;
	height:350px;
}
.ca-wrapper{
	width:100%;
	height:100%;
	position:relative;
	/* overflow */
	padding: 10px;
	margin-top:-6px;

}
.ca-item{
	position:relative;
	
	width:313px;
	height:100%;
	text-align:center;
	margin-left:-4px;
}
.ca-more{
	position: absolute;
	bottom: 12px;
	right:0px;
	padding:4px 15px;
/* 	font-weight:bold;
 */	/*background: #d9edf7;*/
	text-align:right;
	/*color: #3a87ad;*/
	/*border-top: 1px solid #bce8f1;*/
	/*border-bottom: 1px solid #bce8f1;*/
	/*border-left: 1px solid #bce8f1;*/

	/* Shouheng */
	background: rgb(0, 0, 0);
	color: rgb(255, 255, 255);
	border-top-left-radius:2px;
	border-bottom-left-radius:2px;
}
.ca-close{
	position:absolute;
	top:5px;
	right:10px;
	outline:none;
	opacity:0.7;
}
.ca-close:hover{
	opacity:1.0;
}
.ca-item-main{
	left:15px;
	padding:15px;
	position:absolute;
	overflow:hidden;
	height:95%; 
	width:280px;
	border-radius:12px;
	background: -webkit-linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* For Firefox 3.6 to 15 */
	background: linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* Standard syntax */	
	box-shadow: 1px 1px 1px 1px rgb(204,204,204);
		-moz-box-shadow:    1px 1px 1px 1px rgb(204,204,204);
		-webkit-box-shadow: 1px 1px 1px 1px rgb(204,204,204);
	z-index:100;
}

.ca-item-main.i1 {
	background-image: url('http://1.bp.blogspot.com/-ZF-cx_zz1k8/Uh9xWsDm-cI/AAAAAAAAFYU/6UbAVn_kwIk/s640/Background-Image.jpg');
	color: white;
}
.ca-content-wrapper{
	margin-top:-5px;
	margin-left:-24px;
	background:rgb(240,240,240);
	position:absolute;
	width:0px; /* expands to width of the wrapper minus 1 element */
	height:334px;
	top:5px;
	text-align:left;
	z-index:99;
	overflow:hidden;
	/* Shouheng Yi */
	left:50px;
	bottom:50px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	/*background: #E5E5E5;*/
}
.ca-content
{
	margin-left:25px;
	overflow:hidden;
	width:660px;
}
.ca-content-text{
	margin:0 20px 0 10px;
	padding:0 20px 0 0;
	padding-right:60px;
}
.ca-content-text h5{
        margin:0 0 0 0;
        padding:0 0 0 0;
}
.ca-nav span{
	width:25px;
	height:38px;
	background:transparent url(/resources/images/arrows.png) no-repeat top left;
	position:absolute;
	top:50%;
	margin-top:-19px;
	left:-40px;
	text-indent:-9000px;
	opacity:0.7;
	cursor:pointer;
	z-index:100;
}
.ca-nav span.ca-nav-next{
	background-position:top right;
	left:auto;
	right:-40px;
}
.ca-nav span:hover{
	opacity:1.0;
}
/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer
{
	overflow: hidden;
	position: relative;
}

.jspPane
{
	position: absolute;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 10px;
	height: 100%;
	background: #fff;

}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background: #fff;
}

.jspVerticalBar *,
.jspHorizontalBar *
{
	margin: 0;
	padding: 0;
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
	background: #fff;
	position: relative;
}

.jspDrag
{
	background: #000;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 10px;
}

.jspHorizontalBar .jspArrow
{
	width: 10px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
	margin: 0 -3px 0 0;
}

/* PS for Index (Home Page) */
.slide-box  
{
	height:300px; 
	width:250px;
	border-radius:12px;
	background: -webkit-linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* For Firefox 3.6 to 15 */
	background: linear-gradient( rgb(252,252,252), rgb(220,220,220)); /* Standard syntax */	
	box-shadow: 1px 1px 1px 1px rgb(204,204,204);
		-moz-box-shadow:    1px 1px 1px 1px rgb(204,204,204);
		-webkit-box-shadow: 1px 1px 1px 1px rgb(204,204,204);
}

.slide-box-content-text
{
	width:100%;
	color:rgb(51,51,51); 
}

/* Carousel Contents */
.carousel-c-cell-left {
	float:left;
	width:50%;
}

.carousel-c-cell-right {
	float:right;
	width:50%;
}

.carousel-c-device>img {
	width:100%;
}

.carousel-c-text {
	color:#274053;
	font-size: 2em;
}

.carousel-c-text>div {
	position: absolute;
	width:50%;
}

.carousel-c-text-container {
    height: 100%;
    /*display: -webkit-flex; /* Safari */
    /*-webkit-flex-direction: row-reverse;  Safari 6.1+ */
    /*display: flex;*/
    /*flex-direction: row-reverse; */
    /*align-items: center;*/
    /*justify-content: center;*/
}
.carousel-c-text-container h1 {
	font-size: 2em;
	margin-left: 80px;
	line-height: 1.4;
}

.carousel-c-text-container>div {
	position:absolute;
	top:50%;
	display:block;
}

.carousel-c-text-container>div>p {
	padding:0px 0px 0px 80px;
	line-height: 1.4;
}

.carousel-inner img {
	width: 100%;
	position: relative;
	/* top: -25px; */
}

.carousel-btns {
}

.carousel-btns > a:first-child {
	margin-right: 20px;
}

.carousel-c-text-container .btn-warning {
/* 	font-weight:900;
 */}

.carousel-c-text-item1 {
	font-size: 22px;
	margin-right: 50px;
	margin-top: 30px;
}

.carousel-c-text-item2 {
	margin-top: -85px;
	padding:0px 60px 0px 60px;
}

.carousel-c-text-item3 {
	margin-top: -85px;
	padding:0px 100px 0px 60px;
}

.carousel-c-text-item4 {
	margin-top: -85px;
	padding:0px 100px 0px 60px;
}

.carousel-control .glyphicon-chevron-left {
    left: 18%;
    margin-left: -10px;
}

.carousel-control .glyphicon-chevron-right {
    right: 18%;
    margin-right: -10px;
}



@media (max-width: 1048px) {
	.carousel-btns {
		/* margin-right: 25px; */
	}
	.carousel-btns a {
		margin-left: 0;
		margin-bottom: 25px;
	}
	.carousel-c-text-container {
		position: relative;
		top: -40px;
	}
	
}

@media (max-width: 1000px) {

	.carousel-c-text-container>div>p {
		margin-right: 50px;
		margin-bottom: 40px;
	}
}

@media (max-width: 940px) {
	.carousel-c-text-container h1 {
		font-size: 1.4em;
	}
	.carousel-c-text-container>div>p {
		margin-right: 30px;
		margin-bottom: 40px;
		font-size: .6em;
	}
}

@media (max-width:870px){
	.carousel-c-device {
		display:none;
	}
	.carousel-c-text {
		height:300px;
	}
	.carousel-c-text>div {
		width:100%;
		text-align:center;
	}
	.carousel-c-text-container>div>p {
		margin: 0;
		margin-left: 0px;
		margin-right: 80px;
		margin-bottom: 40px;
	}
	.carousel-c-cell-right {
		width:100%;
	}
	.carousel-c-cell-left {
		width:100%;
	}
	.carousel-btns {
		margin: 0 auto;
	}
	.carousel-btns a:last-child {
		margin-left: 20px;
	}
	.carousel-c-text-container h1 {
		margin-left: 0px;
	}
}
@media only screen and (max-width: 500px) {
	
}
@media only screen and (max-width:467px){
	.carousel-c-text-container>div>p {
		margin-left: -80px;
		margin-right: 0px;
		padding-right: 4px;
	}
	.carousel-c-text-container {
		top: -50px;
	}
	.carousel-btns {
		margin: 0;
	}
	.carousel-btns a:last-child {
		margin: 0;
	}
	
	.carousel-btns {
		margin: 0 auto;
		max-width: 235px;
	}
	.carousel-control {
		width: 15%;
	}
}